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
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