加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – mysql-server:取决于:mysql-server-5.5但是不会安装

发布时间:2020-12-14 01:43:58 所属栏目:Linux 来源:网络整理
导读:我在VirtualBox上使用ubuntu 14.04.我尝试使用命令安装 mysql-server sudo apt-get install mysql-server,我总是得到如下错误: Some packages could be installed .This may mean that you have request an impossible situation or if you are using the u
我在VirtualBox上使用ubuntu 14.04.我尝试使用命令安装 mysql-server
sudo apt-get install 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

但它仍然是错误的.请帮我!

解决方法

你尝试过使用过吗?

sudo apt-get install -f

这可以修复损坏的包或清除安装.

如果未使用-f安装mysql-server,则可以尝试以正常方式安装

sudo apt-get install mysql-server -y

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读