Apt sources.list问题,找不到包?

我正在尝试安装WICD,但在我的ubuntu 10.04盒子上出现以下错误

sudo apt-get install wicd Err http://archive.ubuntu.schoolnet.lk/ubuntu/ lucid/universe python-wicd 1.7.0+ds1-2 Could not connect to archive.ubuntu.schoolnet.lk:80 (103.29.60.18). - connect (111: Connection refused) Err http://archive.ubuntu.schoolnet.lk/ubuntu/ lucid/main python-iniparse 0.3.1-1 Unable to connect to archive.ubuntu.schoolnet.lk:http: Err http://archive.ubuntu.schoolnet.lk/ubuntu/ lucid/universe wicd-daemon 1.7.0+ds1-2 Unable to connect to archive.ubuntu.schoolnet.lk:http: Err http://archive.ubuntu.schoolnet.lk/ubuntu/ lucid/universe wicd-gtk 1.7.0+ds1-2 Unable to connect to archive.ubuntu.schoolnet.lk:http: Err http://archive.ubuntu.schoolnet.lk/ubuntu/ lucid/universe wicd 1.7.0+ds1-2 Unable to connect to archive.ubuntu.schoolnet.lk:http: Failed to fetch http://archive.ubuntu.schoolnet.lk/ubuntu/pool/universe/w/wicd/python-wicd_1.7.0+ds1-2_all.deb Could not connect to archive.ubuntu.schoolnet.lk:80 (103.29.60.18). - connect (111: Connection refused) Failed to fetch http://archive.ubuntu.schoolnet.lk/ubuntu/pool/main/p/python-iniparse/python-iniparse_0.3.1-1_all.deb Unable to connect to archive.ubuntu.schoolnet.lk:http: Failed to fetch http://archive.ubuntu.schoolnet.lk/ubuntu/pool/universe/w/wicd/wicd-daemon_1.7.0+ds1-2_all.deb Unable to connect to archive.ubuntu.schoolnet.lk:http: Failed to fetch http://archive.ubuntu.schoolnet.lk/ubuntu/pool/universe/w/wicd/wicd-gtk_1.7.0+ds1-2_all.deb Unable to connect to archive.ubuntu.schoolnet.lk:http: Failed to fetch http://archive.ubuntu.schoolnet.lk/ubuntu/pool/universe/w/wicd/wicd_1.7.0+ds1-2_all.deb Unable to connect to archive.ubuntu.schoolnet.lk:http: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 

问题在于您的软件源,特别是在您尝试从中获取它们的地方,第一个错误会为您提供线索。

Could not connect to archive.ubuntu.schoolnet.lk:80 (103.29.60.18). - connect (111: Connection refused)

打开Ubuntu软件中心 – >编辑 – >软件源。

尝试将软件源更改为其他服务器并进行更新。


以下屏幕截图将向您展示如何完成此操作;

单击“从下载”框中的下拉箭头

软件来源1

您可以选择“主服务器”(推荐)或“其他”

软件来源2

如果您选择“其他”,它将打开另一个对话框,为您提供更多选项,您可以手动为您的位置选择最佳选项。

选择您要使用的服务器,然后点击“选择服务器”,然后关闭。 然后,您可以在终端中键入sudo apt-get update并下载该程序。

软件来源3