我正在运行 16.04。尝试更新时出现以下错误:
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-release-upgrader/ubuntu-release-upgrader-gtk_16.04.18_all.deb
404 Not Found [IP: 91.189.88.149 80]
另外还有两个类似的,但我不能发布,因为它们被视为包含链接。
apt-get update 的输出显示了其他信息,例如:
W: GPG error: http://archive.canonical.com/ubuntu xenial InRelease: At least one invalid signature was encountered.
W: The repository '[http:]//archive.canonical.com/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
你能帮忙吗?
答案1
我在尝试手动从一台机器复制到另一台机器时也遇到了类似的错误/var/lib/apt/lists/
。
尝试将所有内容从移动/var/lib/apt/lists/
到/tmp/listsbak/
然后运行apt-get update
mkdir /tmp/listsbak/ && sudo mv /var/lib/apt/lists/* /tmp/listsbak/ && sudo apt-get update
如果新下载的列表出现相同的错误,也许请在您的问题或评论中注明您的机器/etc/apt/sources.list
和任何列表文件/etc/apt/sources.list.d
。