I am trying to upgrade my system from Ubuntu 20.04 to Ubuntu 22.04. After sudo apt update
, sudo apt upgrade
, sudo apt dist-upgrade
, sudo apt autoremove
and sudo apt install update-manager-core
I run the command sudo do-release-upgrade
but it fails with errors:
Error during update
A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
Internet connection is fine, everything works. However, just above I read this error:
Err tor+http://deb.w5j6stm77zs6652pgsij4awcjeel3eco7kvipheu6mtr623eyyehj4yd.onion bullseye InRelease
Could not connect to 127.0.0.1:9050 (127.0.0.1). - connect (111: Connection refused)
I have Tor installed and it works. I tried to stop it with the killall tor
command, it did not help. Tell me, please, what kind of port is this 127.0.0.1:9050 and what is it for? (I googled but didn't find any specific information, someone said that he is responsible for the proxy, that's all).
What is causing the connection failure and is there any way to fix it? Thank you!