Problem with apt-transport-tor

3 risposte [Ultimo contenuto]
sid
sid
Offline
Iscritto: 02/09/2022

apt-transport-tor does not work for me, when I run apt update I get error message:

Could not connect to 127.0.0.1:9050 (127.0.0.1). - connect (111: Connection refused)

Can someone advice what might be the problem?

jxself
Offline
Iscritto: 09/13/2010

The 127.0.0.1 is your own computer. Perhaps tor is not running on your computer? Try to start it.

sid
sid
Offline
Iscritto: 02/09/2022

You are right, I assumed wrongly that tor would start automatically. Thanks jxself!

icarolongo
Online
Iscritto: 03/26/2011

You can install Trisquel GNU/Linux-libre updates over Tor Onion Service mirror:

Install tor and apt-transport-tor:

sudo apt install tor apt-transport-tor

Change the default repositoty to Tor Onion Service:

sudo sed -i 's|https://archive.trisquel.org/|tor+http://dotsrccccbidkzg7oc7oj4ugxrlfbt64qebyunxbrgqhxiwj3nl6vcad.onion/|g' /etc/apt/sources.list

Done. Now all the updates and packages will be installed over Tor with .onion domain.

Screenshot_20231203_224103.png