On Wednesday, June 1, 2022 7:25:44 PM CEST Keifer Bly wrote:
So upon trying all of the mentioned commands, my tor installation still encounters an error when trying to update. Attached is a photo of my sources.list.debian.templ and sources.list. When trying to update the returned error
sources.list.debian.temp I would not change the template from the provider.
N: Ignoring file 'DEADJOE' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'tor.list.save.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'tor.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
Dir '/etc/apt/sources.list.d/' is empty by default. I would delete all files there. $ sudo rm -i /etc/apt/sources.list.d/*
E: Conflicting values set for option Signed-By regarding source https://deb.torproject.org/torproject.org/ buster: /usr/share/keyrings/tor-archive-keyring.gpg !=
E: The list of sources could not be read.
You have to configure it in either the Debian buster way or the new way since Debian bullseye.
Old buster way + (apt-key add) in file: /etc/apt/sources.list deb https://deb.torproject.org/torproject.org buster main
New bullseye way + (tor-archive-keyring) create a file in the directory: '/etc/apt/sources.list.d/' with the name 'tor.list' with just one line: deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https:// deb.torproject.org/torproject.org buster main
For Buster, you just have to delete the penultimate line: deb http://ftp.de.debian.org/debian stretch main and [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] in the last line in /etc/apt/sources.list.
Other consideration: (You must upgrade buster to bullseye, your certificates may still be out of date, your tor daemon is running as root!?, etc.) nusenu gave tips on relay migration a few days ago. - stop tor, save tor config and the entire datadir Reinstall bullseye from the provider customer menu - then copy over tor config and datadir, set the right permissions and let the relay run again.
Tomorrow is a workshop from Torproject