我在终端中运行了这个命令:
更新结束,以下是错误报告:
这是什么意思,为什么会发生这种情况?
sudo apt-get update
更新结束,以下是错误报告:
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://extras.ubuntu.com precise Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures were invalid: BADSIG 4C1CBC1B69B0E2F4 Launchpad PPA for Jonathan French
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release
这是什么意思,为什么会发生这种情况?
/etc/apt/sources.list.d/
中有一个已经不存在的PPA,所以出现了这个错误。我不得不删除它(实际上,用我需要的ffmpeg
的更新仓库替换它),然后sudo apt-get update
就正常工作了。 - Joshua Pinterapt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg' > /dev/null 2>&1
来源:https://forum.hestiacp.com/t/apt-upgrade-failed-gpg-error-packages-sury-org/1920/8 - Ladislav Ondris