我之前在这里问过与这个问题相关的问题 如何修复更新错误:错误的 sources.list 条目或格式错误的文件?。但是在确定我的 sources.list 没有任何错误后,我被告知要提出一个新问题。
这个问题是在我安装 Google Chrome 后出现的。现在每次更新都会出错。以下是我更新后出现的错误输出 -
Err http://downloads-distro.mongodb.org dist Release.gpg
Could not resolve 'downloads-distro.mongodb.org'
Fetched 2,992 kB in 60s (49.1 kB/s)
Reading package lists... Error!
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release.gpg Bad header line [IP: 74.125.130.91 80]
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages 404 Not Found [IP: 74.125.130.91 80]
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/main/binary-i386/Packages 404 Not Found [IP: 74.125.130.91 80]
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/trusty/Release Unable to find expected entry 'restricted/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/Release.gpg Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en_IN Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/i18n/Translation-en Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/binary-amd64/Packages Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/trusty/partner/binary-i386/Packages Cannot initiate the connection to archive.canonical.com:80 (2001:67c:1360:8c01::1b). - connect (101: Network is unreachable) [IP: 2001:67c:1360:8c01::1b 80]
W: Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release.gpg Could not resolve 'downloads-distro.mongodb.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.
重新安装 Google Chrome 能解决这个问题吗?我现在完全不知所措。请帮忙!
答案1
好吧,我可能知道为什么会发生这种情况,但我无法找到解决方案。
看这个。
相似地
也无法访问
还
http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/
在您发布问题时无法联系。但如果您执行了,sudo apt-get update
则不会出现错误
http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/
现已可用。
所以我建议你等一段时间,直到后端的问题解决。你的系统没有问题。只是后端存储库目前坏了。