升级到 11.10 时,Update Manager 找不到存储库

升级到 11.10 时,Update Manager 找不到存储库

我似乎无法从 11.04 升级到 Oneiric,因为:

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multivers/binary-amd64/Packages
404 Not Found [IP: 91.189.92.167 80], W:Failed to fetch
gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_oneiric-security_main_binary-i386_Packages
Hash Sum mismatch, W:Failed to fetch
gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_oneiric-security_universe_binary-i386_Packages
Hash Sum mismatch, E:Some index files failed to download. They have been ignored, or

用旧的来代替。

现在我想检查一下我的网络连接,尽管它可以找到所有其他包,并且它当然返回我的网络没有问题。所以我决定自己 ping 这个包位置的 IP(91.189.92.167),结果如下:

PING 91.189.92.167 (91.189.92.167) 56(84) bytes of data.
64 bytes from 91.189.92.167: icmp_req=1 ttl=128 time=40.5 ms
64 bytes from 91.189.92.167: icmp_req=2 ttl=128 time=39.6 ms
64 bytes from 91.189.92.167: icmp_req=3 ttl=128 time=41.0 ms
64 bytes from 91.189.92.167: icmp_req=4 ttl=128 time=38.7 ms
64 bytes from 91.189.92.167: icmp_req=5 ttl=128 time=41.1 ms
64 bytes from 91.189.92.167: icmp_req=6 ttl=128 time=38.6 ms

--- 91.189.92.167 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5009ms
rtt min/avg/max/mdev = 38.658/39.967/41.195/1.038 ms

这意味着那边一切都很好。所以我想也许主机无法解析,所以我执行了 host -v:

sam@ubuntu:~$ host -v security.ubuntu.com
Trying "security.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30243
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;security.ubuntu.com.           IN      A

;; ANSWER SECTION:
security.ubuntu.com.    5       IN      A       91.189.92.167
security.ubuntu.com.    5       IN      A       91.189.92.166

Received 69 bytes from 192.168.153.2#53 in 37 ms
Trying "security.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42468
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;security.ubuntu.com.           IN      AAAA

;; AUTHORITY SECTION:
ubuntu.com.             5       IN      SOA     ns1.canonical.com.hostmaster.ca     nonical.com. 2012011402 10800 3600 604800 3600

Received 98 bytes from 192.168.153.2#53 in 39 ms
Trying "security.ubuntu.com"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23755
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;security.ubuntu.com.           IN      MX

;; AUTHORITY SECTION:
ubuntu.com.             5       IN      SOA     ns1.canonical.com.hostmaster.ca    nonical.com. 2012011402 10800 3600 604800 3600
Received 98 bytes from 192.168.153.2#53 in 40 ms

这看起来又很漂亮所以我坚持认为由于某种原因它必须是这样的:

Hash Sum mismatch, E:Some index files failed to download. They have been ignored, or
old ones used instead.

因此我进行了一些搜索,发现了 ppa repos 的一个问题:更新管理器拒绝更新

但问题是我没有使用 ppa,所以这不是我的问题。

有谁知道还有什么可以阻止我升级我的 Ubuntu?

也许我忽略了眼前的某些事情,而且刚好过了我的睡觉时间,无论如何我都完全不知所措。

谢谢,

编辑:此外,当我尝试执行 sudo apt-get update 时,我得到:

Err http://security.ubuntu.com oneiric-security/multiverse amd64 Packages
  404  Not Found [IP: 91.189.92.167 80]
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multiverse/binary-amd64/Packages  404  Not Found [IP: 91.189.92.167 80]

E: Some index files failed to download. They have been ignored, or old ones used     instead.

答案1

您的 sources.list 中有一个拼写错误(multivers而不是multiversefor oneiric-security 存储库),这导致404 未找到错误

对于那两个哈希值不匹配错误:删除文件/var/lib/apt/列表/部分/并尝试再次更新。

如果仍然收到此错误下载http://security.ubuntu.com/ubuntu/dists/oneiric-security/main/binary-i386/Packages.gz,请计算 MD5 校验和并将其与http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release

它们匹配吗?

相关内容