![使用 sudo apt-get update 时出现 404 错误及更多错误](https://linux22.com/image/1136935/%E4%BD%BF%E7%94%A8%20sudo%20apt-get%20update%20%E6%97%B6%E5%87%BA%E7%8E%B0%20404%20%E9%94%99%E8%AF%AF%E5%8F%8A%E6%9B%B4%E5%A4%9A%E9%94%99%E8%AF%AF%20.png)
我对 Linux 还很陌生。
运行 Ubuntu 16.04。
执行时sudo apt-get update
出现404
错误,Failed to fetch ...
还有许多其他问题。我不知道这是什么,也不知道如何修复。
它看起来是这样的:
Err:16 http://ppa.launchpad.net/tualatrix/ppa/ubuntu xenial/main amd64 Packages
404 Not Found
Err:18 http://ppa.launchpad.net/tualatrix/ppa/ubuntu xenial/main i386 Packages
404 Not Found
Err:25 http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu xenial/main amd64 Packages
404 Not Found
Err:26 http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu xenial/main i386 Packages
404 Not Found
Fetched 529 kB in 5s (95,5 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/tualatrix/ppa/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_15.04 Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5A7D1D38BEB6D886
W: The repository 'http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_15.04 Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: There is no public key available for the following key IDs:
5A7D1D38BEB6D886
E: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Failed to fetch http://ppa.launchpad.net/upubuntu-com/gtk3themes/ubuntu/dists/xenial/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
这些 PPA 尚未更新至 16.04。您可以等待或通过 禁用它们Updates
。