Ma *_*hin 5 linux ubuntu-14.04
我在VirtualBox上使用ubuntu 14.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.
Run Code Online (Sandbox Code Playgroud)
然后我尝试使用如下命令:
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
Run Code Online (Sandbox Code Playgroud)
但它仍然是错误的.请帮我!
你有没有尝试过使用
sudo apt-get install -f
Run Code Online (Sandbox Code Playgroud)
这可以修复损坏的软件包或清除安装。
如果 mysql-server 没有使用 -f 安装,您可以尝试使用正常方式安装
sudo apt-get install mysql-server -y
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3418 次 |
| 最近记录: |