I’ve followed the instructions in Connecting_to_Tor_before_a_VPN (system doesn’t let me include links)
Now I can ping, I can browse (including deb.whonix DOT org and deb.debian DOT org with quick response times), curl and wget work well too, but when I run
sudo apt-get update
it gets stuck for long minutes, finally fails with
Read error - read (104: Connection reset by peer) Reading the greet back from SOCKS proxy socks5h://127.0.0.1:9050 failed [IP: 127.0.0.1 9050]
Running whonixcheck, I get:
[WARNING] [whonixcheck] Debian Package Update Check Result: Could not check for software updates! (apt-get code: 100)
Running sudo apt-get-update-plus dist-upgrade, I get:
Reading package lists…
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
Sometimes I get the above error for sudo apt-get update too.
I tried several times, including restarting the machine. Doesn’t look like any particular circuit because the problem is always only with apt-get. Can’t be the VPN speed since I can even load and watch full youtube videos, no issues except for apt-get update.
I’m on 15.0.0.4.9
– I now realize the lock issue was temporary, anyway running sudo apt-get-update-plus dist-upgrade -y now gets stuck for ages and then gives the same error as sudo apt-get update:
Read error - read (104: Connection reset by peer) Reading the greet back from SOCKS proxy socks5h://127.0.0.1:9050 failed [IP: 127.0.0.1 9050]