分页: 1 / 1

安装mysql失败

发表于 : 2005-10-26 10:17
wangww
我按照http://www.ubuntu.org.cn/support/documentation ... +php+mysql,apache安装成功,但安装mysql不成功,错误信息如下:
csapp@laowang:~$ sudo apt-get install mysql-server
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
现在没有可用的软件包 mysql-server,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 mysql-server 还没有可供安装的候选者

不知是何原因?请高手指教!谢谢!

发表于 : 2005-10-27 20:53
Jerry_mouse
有分析过依赖关系没?

发表于 : 2005-10-27 22:12
firehare
这应该是你的源没有设置好的原故,请参照我的,在/etc/apt/sources.list文件中:

代码: 全选

deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse
deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse
deb http://ubuntu.cn99.com/backports/ breezy-extras main restricted universe multiverse
然后再:

代码: 全选

sudo apt-get update
sudo apt-get dist-upgrade

发表于 : 2005-10-28 0:20
wangww
是的。这个问题就是源未设置好。现在我已经做好了。谢谢大家帮助。