August 31st, 2021 at 12:14 AM
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.
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.