Issue cleaning up apt-key errors

I was getting an error when trying to update my raspberry pi running piaware:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.rb24.com bullseye InRelease: The following signatures were invalid: EXPKEYSIG F2A8428D3C354953 AirNav Systems jceara@airnavsystems.com
W: Failed to fetch https://apt.rb24.com/dists/bullseye/InRelease The following signatures were invalid: EXPKEYSIG F2A8428D3C354953 AirNav Systems jceara@airnavsystems.com
W: Some index files failed to download. They have been ignored, or old ones used instead.

I did some cleanup of the errors but now getting an message:

Err:1 http://www.flightaware.com/mirror/raspbian/raspbian bullseye InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
Hit:6 https://opensky-network.org/repos/debian opensky InRelease
Err:4 http://www.flightaware.com/mirror/raspberrypi/debian bullseye InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
Err:5 https://apt.rb24.com bullseye InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F2A8428D3C354953
Err:6 https://opensky-network.org/repos/debian opensky InRelease
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 55DAE60F83C214BF
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://www.flightaware.com/mirror/raspbian/raspbian bullseye InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://www.flightaware.com/mirror/raspberrypi/debian bullseye InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.rb24.com bullseye InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F2A8428D3C354953
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://opensky-network.org/repos/debian opensky InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 55DAE60F83C214BF
W: Failed to fetch http://flightaware.com/mirror/raspbian/raspbian/dists/bullseye/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
W: Failed to fetch https://opensky-network.org/repos/debian/dists/opensky/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 55DAE60F83C214BF
W: Failed to fetch http://flightaware.com/mirror/raspberrypi/debian/dists/bullseye/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
W: Failed to fetch https://apt.rb24.com/dists/bullseye/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY F2A8428D3C354953
W: Some index files failed to download. They have been ignored, or old ones used instead.

Any assistants will be greatly appreciated.

I have posted a solution in Radarbox24 forum few days ago

Re: RBFeeder Update Fails

 

It is summerized below:

gpg --keyserver keyserver.ubuntu.com --recv-keys F2A8428D3C354953   

gpg --export --armor F2A8428D3C354953 | sudo apt-key add -   

sudo apt-get update   

CAUTION: In the 2nd command above, do not miss the minus ( - ) sign at the end after word “add”

Above is fix for Radarbox24 Repo using their key in error message. You may repeat same for other sites using their keys in their error messages.

 

FIX FOR FLIGHTAWARE REPOSITORY

wget https://www.flightaware.com/adsb/piaware/files/packages/pool/piaware/f/flightaware-apt-repository/flightaware-apt-repository_1.2_all.deb   

sudo dpkg -i flightaware-apt-repository_1.2_all.deb   

sudo apt update   

 

2 Likes