[Bug 994569] Re: add-apt-repository doesn't work behind a proxy [Ubuntu 12.04]
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Thu Aug 16 19:48:38 UTC 2012
janakaravi: please don't assign yourself to bugs unless you plan to work
on them and provide a patch for the issue.
Looks to me like add-apt-repository works just fine behind even a very
restrictive proxy; however there is a catch (but not something that can
be worked around in code, or that should be worked around in code).
add-apt-repository itself requires the https_proxy variable to be able
to access Launchpad and get information about the PPAs, such as their
descriptions, signing key, etc.
However, the *http_proxy* variable is also required, because that's what
gets used by apt-key/gpg to retrieve the GPG keys signing the PPA
packages.
I'll mark this as Fix Released for Quantal since it's clearly working
properly; and open a task for Precise set to Incomplete until I or the
original reporter can re-test on Precise with http_proxy set.
It's possible any other issues may come from sudo clearing some
environment variables it shouldn't, but that should already have been
fixed in Quantal and Precise.
** Changed in: software-properties (Ubuntu)
Assignee: janakaravi (janakaravi) => (unassigned)
** Changed in: software-properties (Ubuntu)
Status: Incomplete => Fix Released
** Also affects: software-properties (Ubuntu Precise)
Importance: Undecided
Status: New
** Changed in: software-properties (Ubuntu Precise)
Status: New => Incomplete
** Changed in: software-properties (Ubuntu Precise)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/994569
Title:
add-apt-repository doesn't work behind a proxy [Ubuntu 12.04]
Status in “software-properties” package in Ubuntu:
Fix Released
Status in “software-properties” source package in Precise:
Incomplete
Bug description:
Using Ubuntu 12.04 in Virtual Box:
The software is unusable behind a proxy:
It simply waits and waits, but does get nothing.
I already got the proxy set up in "Networks" in the control center,
for https.
To fix , set the https_proxy variable
https_proxy=http://www.example.com:8000/
Please also see: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/994569/+subscriptions
More information about the foundations-bugs
mailing list