I ran the 2 lines and receive the error can only be used by root. But I am $
keith@ubuntuserver:~$ curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CD BA8F512EE8CBC9E886DDD89.asc | gpg --import % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 19665 100 19665 0 0 39647 0 --:--:-- --:--:-- --:--:-- 39647 gpg: key EE8CBC9E886DDD89: 36 signatures not checked due to missing keys gpg: key EE8CBC9E886DDD89: "deb.torproject.org archive signing key" not changed gpg: Total number processed: 1 gpg: unchanged: 1
keith@ubuntuserver:~$ gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - E: This command can only be used by root. keith@ubuntuserver:~$ curl https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CD BA8F512EE8CBC9E886DDD89.asc | gpg --import % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 19665 100 19665 0 0 26646 0 --:--:-- --:--:-- --:--:-- 26610 gpg: key EE8CBC9E886DDD89: 36 signatures not checked due to missing keys gpg: key EE8CBC9E886DDD89: "deb.torproject.org archive signing key" not changed gpg: Total number processed: 1 gpg: unchanged: 1 keith@ubuntuserver:~$ gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add - E: This command can only be used by root. keith@ubuntuserver:~$
On 10/20/2019 7:21 AM, Roger Dingledine wrote:
On Sat, Oct 19, 2019 at 07:47:20PM -0400, Keith Walters wrote:
I attempted yo upgrade my server and get this reeoe The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 74A941BA219EC810
It sounds like you skipped the step where you import the gpg signature key for the repository.
Did you do the "curl | gpg --import" line, and the "gpg --export|apt-key add" line, from https://support.torproject.org/apt/tor-deb-repo/ ?
--Roger