cannot connect to ppa.launchpad.net

 

2017.10.24 13:02:25字数 76阅读 2,394

While I was trying to download wine1.7 on Ubuntu, after I add the related repository, and execute sudo apt-get update, I encountered this error.
There is a good link that enlights me.
Use
unset http_proxy
unset https_proxy

Then I try sudo apt-get update again, it still report some link error, but I successfully download wine anyway.
By the way, you can check the settings of proxy of a terminal through env | grep -i proxy

原文地址:https://www.cnblogs.com/shenwenkai/p/13181388.html