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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/994569 Title: add-apt-repository doesn't work behind a proxy [Ubuntu 12.04] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/994569/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs