Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 2520

Raspberry Pi OS • Re: GPG error during Docker Engine installation on Raspberry Pi 5, running on Raspberry Pi OS 64-bit (Bookworm)

$
0
0
Just ran into this myself, first I uninstalled and reinstall GPG, no luck. So then I decided to look at the key file

sudo nano /etc/apt/keyrings/docker.gpg

And even though this should be a unencrypted pubkey it looked like an unformatted hexdump in there. So then:

sudo rm /etc/apt/keyrings/docker.gpg

and then running the add repo script once more allowed the next install script and hello-world to proceed correctly.
I did not need to modify the ($Version_codename) section in the apt script either. Only the second step is strictly necessary if the issue is identical but it's always good to identify the problem rather than punching in random command suggestions. Hope this helps

Statistics: Posted by danbearpig — Sat Dec 30, 2023 8:28 pm



Viewing all articles
Browse latest Browse all 2520

Trending Articles