(C) Alec Muffett's DropSafe blog.
Author Name: Alec Muffett
This story was originally published on allecmuffett.com. [1]
License: CC-BY-SA 3.0.[2]
How to apt-update when apt is not accepting the repository?
2023-05
Note: apt-key is deprecated
You could try updating the repository key. When I try to use the tor repository by adding this line to my sources.lst:
deb
http://deb.torproject.org/torproject.org squeeze main
I get the following error:
W: GPG error:
http://deb.torproject.org squeeze InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 74A941BA219EC810
So, the missing key is 74A941BA219EC810. To add (or update in your case) the key run:
sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 74A941BA219EC810
You should now be able to run `apt-get update with no errors.
[END]
[1] URL:
https://superuser.com/questions/513609/how-to-apt-update-when-apt-is-not-accepting-the-repository#comment2426226_513650
[2] URL:
https://creativecommons.org/licenses/by-sa/3.0/
DropSafe Blog via Magical.Fish Gopher News Feeds:
gopher://magical.fish/1/feeds/news/alecmuffett/