有些时候,一些没有mirror的apt源访问起来有点痛苦,比梯子还慢。。。所以让apt走梯子:

apt -o Acquire::http::proxy="socks5h://127.0.0.1:1080/"   原来的指令

注意是 socks5h

参考: https://askubuntu.com/a/1117259/1121096


Comments: (on github issue)