ubuntu1404系统apt-get mysql-server报错
回 2楼dongshan8的帖子
先更新 apt-get update 再执行 apt-get install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested 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 information may help to resolve the situation:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
还是这样
-------------------------
回 4楼dongshan8的帖子
是的,ubuntu 14.4 我在安装freeradius 时候也出现类似情情况 在/etc/apt/sources.list.d/sources-aliyun-0.list增加两条信息后安装完成
deb XXX mirrors.aliyun.com/ubuntu/ trusty-security main
deb-src XXX mirrors.aliyun.com/ubuntu/ trusty-security main //不能发带http://的回复删除
-------------------------
回 6楼dongshan8的帖子
sources.list 中加入以下内链接,先apt-get update 再apt-get install mysql-server 问题解决
deb XXXX://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb XXXX://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb XXXX://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb XXXX://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb XXXX://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src XXXX://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
deb-src XXXX://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src XXXX://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src XXXX://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src XXXX://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
赞0
踩0