I recently had to move a disk image from machine to another machine however when I fired it up on the new machine the APT keys were broken/corrupted. The errors I'm getting are below... Is there a simple way of fixing this?

philip@cetus:~# apt update
Ign:1 http://mirrors.linode.com/debian stretch InRelease
Hit:4 http://mirrors.linode.com/debian stretch Release
Get:2 http://mirrors.linode.com/debian-security stretch/updates InRelease [94.3 kB]
Hit:5 http://apt-longview.linode.com stretch InRelease
Err:6 http://mirrors.linode.com/debian stretch Release.gpg
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
Get:3 http://mirrors.linode.com/debian stretch-updates InRelease [91.0 kB]
Hit:7 http://downloads.mariadb.com/MariaDB/mariadb-10.2/repo/debian stretch InRelease
Err:2 http://mirrors.linode.com/debian-security stretch/updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553
Err:3 http://mirrors.linode.com/debian stretch-updates InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Ign:8 http://downloads.mariadb.com/MaxScale/2.2/debian stretch InRelease
Err:7 http://downloads.mariadb.com/MariaDB/mariadb-10.2/repo/debian stretch InRelease   The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8
Hit:9 http://downloads.mariadb.com/Tools/debian stretch InRelease
Err:9 http://downloads.mariadb.com/Tools/debian stretch InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CE1A3DD5E3C94F49
Hit:10 http://downloads.mariadb.com/MaxScale/2.2/debian stretch Release
Err:11 http://downloads.mariadb.com/MaxScale/2.2/debian stretch Release.gpg
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 135659E928C12247
Fetched 185 kB in 0s (190 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.linode.com/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.linode.com/debian-security stretch/updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://mirrors.linode.com/debian stretch-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://downloads.mariadb.com/MariaDB/mariadb-10.2/repo/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://downloads.mariadb.com/Tools/debian stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CE1A3DD5E3C94F49 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://downloads.mariadb.com/MaxScale/2.2/debian stretch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 135659E928C12247 W: Failed to fetch http://mirrors.linode.com/debian-security/dists/stretch/updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9D6D8F6BC857C906 NO_PUBKEY 8B48AD6246925553 W: Failed to fetch http://mirrors.linode.com/debian/dists/stretch-updates/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 W: Failed to fetch http://downloads.mariadb.com/MariaDB/mariadb-10.2/repo/debian/dists/stretch/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1656F24C74CD1D8 W: Failed to fetch http://downloads.mariadb.com/Tools/debian/dists/stretch/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY CE1A3DD5E3C94F49 W: Failed to fetch http://mirrors.linode.com/debian/dists/stretch/Release.gpg  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500 W: Failed to fetch http://downloads.mariadb.com/MaxScale/2.2/debian/dists/stretch/Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 135659E928C12247 W: Some index files failed to download. They have been ignored, or old ones used instead.

Reply via email to