[Bug 251811] Re: Aptitude seems to ignore environment variable $no_proxy
Daniel Hartwig
251811 at bugs.launchpad.net
Mon May 7 02:35:02 UTC 2012
> Aptitude uses the environment variables $http_proxy and
> $ftp_proxy for its proxy configuration, but seems to ignore the
> variable $no_proxy.
[These settings are handled by apt]
If you are using sudo to run apt-get then the problem is that
sudo only passed http_proxy, and not no_proxy. This was
considered a security issue and sudo has since been changed to
not pass any proxy settings. See #432631 for details.
You should instead make your proxy settings in /etc/apt/apt.conf
When not using sudo and testing with 0.8.10.3 both of these variables
are respected.
> the proxy environment don't recognize , proxy variable
> like "HTTP_PROXY" ect...
Please use "http_proxy" which is more commonly supported, rather than
"HTTP_PROXY".
** Changed in: aptitude (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/251811
Title:
Aptitude seems to ignore environment variable $no_proxy
Status in “aptitude” package in Ubuntu:
Invalid
Bug description:
Aptitude uses the environment variables $http_proxy and $ftp_proxy for its proxy configuration, but seems to ignore the variable $no_proxy.
This is a problem if the package server is inside the local network.
Symptom is apt is hanging with output
> 0% [Waiting for headers]
when trying to update package information via
> sudo apt-get update
if I empty $http_proxy package update is working without any problem.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/251811/+subscriptions
More information about the foundations-bugs
mailing list