在服务器上装了双系统,windows 和 ubuntu server 10.04 ,装完了ubuntu后,什么软件都装不上,都报“E:无法找到软件包 XX”错误。
已试过sudo apt-get update 和更新源,都没有用,怀疑跟网络配置有关,不知如何求助,如有高手,不吝赐教!
求助:server上装不了软件,报“E:无法找到软件包 XX”
-
- 帖子: 5
- 注册时间: 2009-04-17 19:43
求助:server上装不了软件,报“E:无法找到软件包 XX”
如果我们踏实做事,诚实做人,对每个细节都较真,对每一个目标都坚持,那么,我们不但可以把卫星送上天,也可以把一颗小螺丝做到极致!
-
- 帖子: 5
- 注册时间: 2009-04-17 19:43
Re: 求助:server上装不了软件,报“E:无法找到软件包 XX”
自己解决了,哈哈,下面从国外网站上弄出来的:
You need to add the universe component to any of the "main" (not security) sources.
deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic main restricted universe
Packages not in the main component are marked as such with a red label after their name in the Ubuntu package database: http://packages.ubuntu.com/karmic/fail2ban
You need to add the universe component to any of the "main" (not security) sources.
deb http://us.archive.ubuntu.com/ubuntu/ karmic main restricted universe
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic main restricted universe
Packages not in the main component are marked as such with a red label after their name in the Ubuntu package database: http://packages.ubuntu.com/karmic/fail2ban
如果我们踏实做事,诚实做人,对每个细节都较真,对每一个目标都坚持,那么,我们不但可以把卫星送上天,也可以把一颗小螺丝做到极致!