我无法更新我的 basic os Hera 5.1 上的任何应用程序(通过终端或 AppCenter)
当我转到 AppCenter 尝试更新我的应用程序/系统时,显示以下错误
E: The repository 'http://ppa.launchpad.net/mpstark/elementary-tweaks-daily/ubuntu bionic Release' does not have a Release file.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https://download.01.org/gfx/ubuntu/14.04/main saucy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FFACA3F86663559C
E: The repository 'https://download.01.org/gfx/ubuntu/14.04/main saucy InRelease' is not signed.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details.
E: https://download.01.org/gfx/ubuntu/14.04/main saucy InRelease is not (yet) available (The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FFACA3F86663559C)
E: The repository 'http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu bionic Release' does not have a Release file.
W: Updating from such a repository can't be done securely, and is therefore disabled by default.
W: See apt-secure(8) manpage for repository creation and user configuration details
我能够更新sudo apt-get upgrade
以前通常使用的应用程序,但现在这样做会留下此错误,并且实际上没有任何更新
W: GPG error: https://download.01.org/gfx/ubuntu/14.04/main saucy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FFACA3F86663559C
E: The repository 'https://download.01.org/gfx/ubuntu/14.04/main saucy InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/mpstark/elementary-tweaks-daily/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
我该如何修复这个错误?
答案1
Elementary OS Hera 5.1 基于 Ubuntu 18.04 Bionic,并且出现错误的存储库没有 Bionic 的发行文件。
ppa.launchpad.net/mpstark/elementary-tweaks-daily/ubuntu仅具有 Ubuntu Trusty (14.04) 和 Ubuntu Utopic 14.10 的发行文件,请参阅这里
download.01.org/gfx/ubuntu/14.04/main/dists/是 Ubuntu Trusty (14.04) 的存储库
ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu有各种较旧的 Ubuntu 版本的发行文件,但没有 Bionic 的发行文件,请参阅这里
从源中删除这些存储库应该是安全的。然后运行后再次尝试更新sudo apt-get update
。
答案2
首先,它表示您缺少某个公钥。找回丢失的钥匙。您可以通过以下方式执行此操作 -
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv FFACA3F86663559C
其次是 -
gpg --export --armor FFACA3F86663559C | sudo apt-key add -
看看是否能解决您的问题。如果没有,请使用新的警告和错误编辑您的问题
现在,您还应该删除一些过时的源。打开/etc/apt/sources.list
文件并通过在包含这些内容的行前面添加 a 来注释掉它们#
。