Ubuntu add ppa Error
参考https://askubuntu.com/questions/212132/i-cant-add-ppa-repository-behind-the-proxy
1
2
sudo add-apt-repository ppa:gnome3-team/gnome3
Cannot add PPA: 'ppa:gnome3-team/gnome3'.
该问题是由于是使用代理上网导致的
1
2
export http_proxy=https://username:password@host:port/
export https_proxy=https://username:password@host:port/
并且在 /etc/sudoers 末尾追加 Defaults env_keep="https_proxy"
之后再运行
1
sudo -E add-apt-repository ppa:gnome3-team/gnome3
This post is licensed under CC BY 4.0 by the author.