我在VirtualBox上使用ubuntu14.04。我尝试使用命令sudo apt-get install mysql-server安装mysql-server,我总是得到如下错误:
Some packages could be installed .This may mean that you have
request an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following packages have unmet dependencies:
mysqsl-server : Depends: mysql-server-5.5 but it is not going to be installed
E:Unable to correct problems, you have held broken packages.然后我尝试使用下面这样的命令:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get purge mysql-server*
sudo apt-get install mysql-server但它仍然是错误的。请帮帮我!
发布于 2017-05-26 21:34:43
你有没有试过使用
sudo apt-get install -f 这可以修复损坏的软件包或清除安装。
如果mysql-server没有与-f一起安装,您可以尝试使用普通方式进行安装
sudo apt-get install mysql-server -yhttps://stackoverflow.com/questions/34646649
复制相似问题