我按照http://www.ubuntu.org.cn/support/documentation ... +php+mysql,apache安装成功,但安装mysql不成功,错误信息如下:
csapp@laowang:~$ sudo apt-get install mysql-server
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
现在没有可用的软件包 mysql-server,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 mysql-server 还没有可供安装的候选者
不知是何原因?请高手指教!谢谢!
安装mysql失败
-
- 帖子: 3
- 注册时间: 2005-10-27 20:48
- firehare
- 帖子: 2625
- 注册时间: 2005-04-10 16:54
- 来自: 温州大学
- 联系:
这应该是你的源没有设置好的原故,请参照我的,在/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
我心无畏,源自于我心无知。