<div dir="ltr">Well, after deleting those files, etc, here is the terminal output when running apt-get update.<div><br></div><div>root@vps-3e661acc:/home/debian# root@vps-3e661acc:/home/debian# apt-get update<br>Hit:1 <a href="http://security.debian.org">http://security.debian.org</a> buster/updates InRelease<br>Hit:2 <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> buster InRelease<br>Hit:3 <a href="http://deb.debian.org/debian">http://deb.debian.org/debian</a> buster-backports InRelease<br>Ign:4 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster InRelease<br>Ign:5 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster Release<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Ign:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Ign:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Ign:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Ign:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Ign:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Ign:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Ign:6 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main all Packages<br>Err:7 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main amd64 Packages<br>  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 95.216.163.36 443]<br>Ign:8 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en<br>Ign:9 <a href="https://deb.torproject.org/torproject.org">https://deb.torproject.org/torproject.org</a> buster/main Translation-en_US<br>Reading package lists... Done<br>E: Failed to fetch <a href="https://deb.torproject.org/torproject.org/dists/buster/main/binary-amd64/Packages">https://deb.torproject.org/torproject.org/dists/buster/main/binary-amd64/Packages</a>  Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate.  Could not handshake: Error in the certificate verification. [IP: 95.216.163.36 443]</div><div><br></div><div>So, that appears to have fixed the updating from a respiratory issue. But I am wondering what is the terminal command to update the SSL certificate? Thanks.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">--Keifer</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 3, 2022 at 9:48 AM <<a href="mailto:lists@for-privacy.net">lists@for-privacy.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wednesday, June 1, 2022 7:25:44 PM CEST Keifer Bly wrote:<br>
<br>
> So upon trying all of the mentioned commands, my tor installation still<br>
> encounters an error when trying to update. Attached is a photo of my<br>
> sources.list.debian.templ and sources.list. When trying to update the<br>
> returned error<br>
sources.list.debian.temp<br>
I would not change the template from the provider.<br>
<br>
>  <br>
> <br>
> N: Ignoring file 'DEADJOE' in directory '/etc/apt/sources.list.d/' as it has<br>
> no filename extension<br>
> <br>
> N: Ignoring file 'tor.list.save.2' in directory '/etc/apt/sources.list.d/'<br>
> as it has an invalid filename extension<br>
> <br>
> N: Ignoring file 'tor.list.save.1' in directory '/etc/apt/sources.list.d/'<br>
> as it has an invalid filename extension<br>
Dir '/etc/apt/sources.list.d/' is empty by default. I would delete all files <br>
there. $ sudo rm -i /etc/apt/sources.list.d/*<br>
<br>
<br>
> E: Conflicting values set for option Signed-By regarding source<br>
> <a href="https://deb.torproject.org/torproject.org/" rel="noreferrer" target="_blank">https://deb.torproject.org/torproject.org/</a> buster:<br>
> /usr/share/keyrings/tor-archive-keyring.gpg !=<br>
> <br>
> E: The list of sources could not be read.<br>
<br>
You have to configure it in either the Debian buster way or the new way since <br>
Debian bullseye.<br>
<br>
Old buster way + (apt-key add) in file: /etc/apt/sources.list<br>
deb <a href="https://deb.torproject.org/torproject.org" rel="noreferrer" target="_blank">https://deb.torproject.org/torproject.org</a> buster main<br>
<br>
New bullseye way + (tor-archive-keyring) create a file in the directory:<br>
'/etc/apt/sources.list.d/' with the name 'tor.list' <br>
with just one line:<br>
deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://<br>
<a href="http://deb.torproject.org/torproject.org" rel="noreferrer" target="_blank">deb.torproject.org/torproject.org</a> buster main<br>
<br>
<br>
For Buster, you just have to delete the penultimate line:<br>
deb <a href="http://ftp.de.debian.org/debian" rel="noreferrer" target="_blank">http://ftp.de.debian.org/debian</a> stretch main<br>
and <br>
[signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] in the last line<br>
in /etc/apt/sources.list.<br>
<br>
<br>
Other consideration:<br>
(You must upgrade buster to bullseye, your certificates may still be out of <br>
date, your tor daemon is running as root!?, etc.)<br>
nusenu gave tips on relay migration a few days ago.<br>
- stop tor, save tor config and the entire datadir<br>
Reinstall bullseye from the provider customer menu<br>
- then copy over tor config and datadir, set the right permissions and let the <br>
relay run again.<br>
<br>
Tomorrow is a workshop from Torproject<br>
<br>
<br>
-- <br>
╰_╯ Ciao Marco!<br>
<br>
Debian GNU/Linux<br>
<br>
It's free software and it gives you freedom!_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>