Linux apt-get update - Could not connect to XXX(Connection refused)

Linux: apt-get update ----Err:Could not connect to XXX(Connection refused) - 知乎

先换源(vi不好使用,可以换成gedit)

Linux apt-get update - Could not connect to XXX(Connection refused)_第1张图片

若还是不行,可以再尝试执行:

unset http_proxy

unset https_proxy

Linux apt-get update - Could not connect to XXX(Connection refused)_第2张图片

你可能感兴趣的:(linux,运维,服务器)