r...@hactar:~# env | grep proxy
r...@hactar:~# export http_proxy=http://www.example.com:8000/
r...@hactar:~# add-apt-repository 
ppa:python-snippets-drivers/python-snippets-daily
Error reading 
https://launchpad.net/api/beta/~python-snippets-drivers/+archive/python-snippets-daily:
 <urlopen error [Errno 110] Connection timed out>
r...@hactar:~# export https_proxy=http://www.example.com:8000/
r...@hactar:~# add-apt-repository 
ppa:python-snippets-drivers/python-snippets-daily
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring 
--secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg 
--keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg 
--keyserver keyserver.ubuntu.com --recv 4DF656F99017C017086BD3018B70F76B105E3B33
gpg: requesting key 105E3B33 from hkp server keyserver.ubuntu.com
gpg: key 105E3B33: "Launchpad python-snippets-daily" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1


However, if you set proxy in gnome settings you get
https_proxy=https://www.example.com:8000/ 

Whereas add-apt-repository only works with:-
https_proxy=http://www.example.com:8000/

-- 
add-apt-repository doesn't  work behind a proxy
https://bugs.launchpad.net/bugs/516032
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to