我一直连接到网络。我可以下载几个软件包,然后下载停止,并收到以下消息:
Could not download the upgrades
The upgrade has aborted. Please check your Internet connection or installation media and try again. All files downloaded so far have been kept.
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/aptdaemon-data_1.1.1+bzr980-0ubuntu1_all.deb Unable to connect to il.archive.ubuntu.com:http:
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/python3-aptdaemon.gtk3widgets_1.1.1+bzr980-0ubuntu1_all.deb Unable to connect to il.archive.ubuntu.com:http:
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/p/packagekit/libpackagekit-glib2-16_0.8.17-4ubuntu3_amd64.deb Unable to connect to il.archive.ubuntu.com:http:
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/p/packagekit/gir1.2-packagekitglib-1.0_0.8.17-4ubuntu3_amd64.deb Unable to connect to il.archive.ubuntu.com:http:
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/python3-aptdaemon.pkcompat_1.1.1+bzr980-0ubuntu1_all.deb Unable to connect to il.archive.ubuntu.com:http:
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/p/python-setuptools/python3-pkg-resources_5.5.1-1_all.deb Unable to connect to il.archive.ubuntu.com:http:
Failed to fetch http://il.archive.ubuntu.com/ubuntu/pool/main/a/aptdaemon/aptdaemon_1.1.1+bzr980-0ubuntu1_all.deb Unable to connect to il.archive.ubuntu.com:http:
.
.
.
答案1
尝试从另一个镜像下载:
图形用户界面
- 打开软件中心
- 点击:编辑 > 软件源
- 找到下拉菜单“下载自”
- 选择其他
- 选择镜像
命令行
- 打开 /etc/apt/sources.list(sudo nano /etc/apt/sources.list)
- 定位http://XX.archive.ubuntu.com/ubuntu
- 用另一个 token 替换它http://YY.archive.ubuntu.com/ubuntu
您还可以使用此工具生成自定义 sources.list:http://repogen.simplylinux.ch/