Internet in my region is so restricted and many websites even some apt repositories are blocked.
I have a shadowsocks server and I use
to create a local socks5 proxy. I use foxyproxy in my browser to connect to local socks5 proxy and access the internet.
But how can I configure apt to use this local socks5 proxy? It's about one month that I can't even run a simple
.
I'm using Ubuntu 22.04.1 LTS.