Apt除了有镜像站的源其他走socks5代理

/etc/apt/apt.conf.d/99proxy

Acquire::http {
    Proxy::mirrors.ustc.edu.cn "DIRECT";
    Proxy "socks5h://usr:pass@127.0.0.1:1080";
}
Acquire::http {
    Proxy::mirrors.huaweicloud.com "DIRECT";
    Proxy "socks5h://127.0.0.1:1080";
}

此处评论已关闭