This needs also be run with sudo
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg: key EE8CBC9E886DDD89: 83 signatures not checked due to missing keys
gpg: error writing keyring '/home/darkhoodie/.gnupg/pubring.kbx': Permission denied
gpg: error reading '[stdin]': Permission denied
gpg: import from '[stdin]' failed: Permission denied
gpg: Total number processed: 0
Von: tor-relays <tor-relays-bounces@lists.torproject.org> Im Auftrag von Anonforpeace
Gesendet: Dienstag, 9. Februar 2021 20:02
An: tor-relays@lists.torproject.org
Betreff: [tor-relays] cannot update respository
Hello:
I hope you can help. My bridge is offline because:
Please upgrade! This version of Tor (0.4.2.7) is not recommended, according to the directory authorities. Recommended versions are: 0.3.5.10,0.3.5.11,0.3.5.12,0.3.5.13,0.4.3.3-alpha,0.4.3.4-rc,0.4.3.5,0.4.3.6,0.4.3.7,0.4.3.8,0.4.4.1-alpha,0.4.4.2-alpha,0.4.4.3-alpha,0.4.4.4-rc,0.4.4.5,0.4.4.6,0.4.4.7,0.4.5.1-alpha,0.4.5.2-alpha,0.4.5.3-rc,0.4.5.4-rc,0.4.5.5-rc,0.4.5.6
When I try to update it I get this:
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:~$ lsb_release -c
Codename: ulyssa
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:~$ cd /etc/apt/sources.list
bash: cd: /etc/apt/sources.list: Not a directory
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:~$ cd /etc/apt/sources.list.d/
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ sudo nano /etc/apt/sources.list.d
official-package-repositories.list tor-project.list
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ sudo nano /etc/apt/sources.list.d/
Codename: ulyssa
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ sudo nano /etc/apt/sources.list.d/
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg: key EE8CBC9E886DDD89: 83 signatures not checked due to missing keys
gpg: error writing keyring '/home/darkhoodie/.gnupg/pubring.kbx': Permission denied
gpg: error reading '[stdin]': Permission denied
gpg: import from '[stdin]' failed: Permission denied
gpg: Total number processed: 0
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ sudo wget -qO- https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import
gpg: key EE8CBC9E886DDD89: 83 signatures not checked due to missing keys
gpg: error writing keyring '/home/darkhoodie/.gnupg/pubring.kbx': Permission denied
gpg: error reading '[stdin]': Permission denied
gpg: import from '[stdin]' failed: Permission denied
gpg: Total number processed: 0
darkhoodie@darkhoodie-HP-Compaq-Pro-6300-SFF:/etc/apt/sources.list.d$ sudo gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: WARNING: nothing exported
E: This command can only be used by root.
Ign:1 http://packages.linuxmint.com ulyssa InRelease
Hit:2 http://packages.linuxmint.com ulyssa Release
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Ign:9 https://deb.torproject.org/torproject.org ulyssa InRelease
Err:10 https://deb.torproject.org/torproject.org ulyssa Release
404 Not Found [IP: 95.216.163.36 443]
Reading package lists... Done
N: Ignoring file 'sources.list.d' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: The repository 'https://deb.torproject.org/torproject.org ulyssa Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Not sure where I'm going wrong. Please help.
Thank you