I ran this command in the Terminal:
sudo apt-get update
Updating ends with the following error report:
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
What does this mean and why is it happening?
/etc/apt/sources.list.d/
that no longer existed and so this error was coming up. I had to remove that (actually, replace it with an updated repo forffmpeg
that I needed) and thensudo apt-get update
worked just fine. – Joshua Pinter Jun 23 '20 at 15:23apt-key adv --fetch-keys 'https://packages.sury.org/php/apt.gpg' > /dev/null 2>&1
Source: https://forum.hestiacp.com/t/apt-upgrade-failed-gpg-error-packages-sury-org/1920/8 – Ladislav Ondris Aug 30 '21 at 21:11