Fixing no public key errors in linux - Printable Version +- Makestation (https://makestation.net) +-- Forum: Technical Arts (https://makestation.net/forumdisplay.php?fid=45) +--- Forum: Technology & Hardware (https://makestation.net/forumdisplay.php?fid=29) +--- Thread: Fixing no public key errors in linux (/showthread.php?tid=3665) |
Fixing no public key errors in linux - SpookyZalost - August 31st, 2021 So while I was setting up Pop! OS to do some software compiling I ran into a few issues. the biggest of which was an error that looked like this: (NO_PUBKEY) now what that means is either through network issues or other problems the public key for a repository to match the key to safeguard the repository is not available. in my case it was because I needed the Xenial repositories for some libraries I need to compile stuff. I tried a few different fixes but nothing worked so I went and tried the most manual and direct way short of going into they keychain and manually dropping it in there, provided i had the key... I used the following Command, edited for the keys the error indicated I needed. sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys THE_MISSING_KEY_HERE you need to do this for each key missing but it works well, hopefully this will prove useful to people looking for how to fix this. |