每当我想通过命令行安装任何软件时,都会显示此错误。
即使我尝试安装从下载源获得的我知道的软件。
以下是我收到的完整错误消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'mysql-server' has no installation candidate
最佳答案
您最有可能在ubuntu上运行。首先运行apt-get update
很重要。
关于mysql - E:软件包“mysql-server”没有安装候选,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/20259036/