我刚刚安装了 Ubuntu 18.04.3。我想通过运行 来更新sudo apt update
。我得到了
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:3 http://archive.ubuntu.com/ubuntu bionic InRelease
Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 28s (8,883 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
之后我跑了apt list --upgradable
,我得到了
Listing... Done
libsnmp30/bionic-updates 5.7.3+dfsg-1.8ubuntu3.3 amd64 [upgradable from: 5.7.3+dfsg-1.8ubuntu3.1]
linux-generic-hwe-18.04/bionic-security,bionic-updates 5.0.0.36.94 amd64 [upgradable from: 5.0.0.23.80]
linux-headers-generic-hwe-18.04/bionic-security,bionic-updates 5.0.0.36.94 amd64 [upgradable from: 5.0.0.23.80]
linux-image-generic-hwe-18.04/bionic-security,bionic-updates 5.0.0.36.94 amd64 [upgradable from: 5.0.0.23.80]
之后,我跑了sudo apt-get upgrade
,我得到了
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
linux-generic-hwe-18.04 linux-headers-generic-hwe-18.04 linux-image-generic-hwe-18.04
The following packages will be upgraded:
libsnmp30
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Need to get 929 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libsnmp30 amd64 5.7.3+dfsg-1.8ubuntu3.3
403 Forbidden [IP: 91.189.88.173 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/n/net-snmp/libsnmp30_5.7.3+dfsg-1.8ubuntu3.3_amd64.deb 403 Forbidden [IP: 91.189.88.173 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
这是我的存储库:
deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse main restricted universe
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse main restricted universe
deb http://archive.ubuntu.com/ubuntu bionic main universe restricted multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports multiverse main restricted universe
如何解决?