The symptoms described are due to changes made for bug 432631. Perhaps this should be marked as a duplicate (though it's kind of an anti-duplicate!)
The documentation of this change is in /usr/share/doc/sudo/changelog.Debian.gz:
sudo (1.7.2p1-1ubuntu4) lucid; urgency=low
* env.c: Revert addition of "http_proxy" again. This was an Ubuntu specific
EBW hack, caused inconsistencies with other proxy variables (such as
https_proxy and ftp_proxy), made sudo incompatible to upstream
behaviour/documentation. This is solved in a much better way in apt itself
and gnome-network-properties now. (LP: #432631)
[changes in intervening versions elided]
-- Martin Pitt <<email address hidden> (1.7.0-1ubuntu1) karmic; urgency=low
[...]
- env.c: Add "http_proxy" to initial_keepenv_table, so that it is kept
for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
some point)
The symptoms described are due to changes made for bug 432631. Perhaps this should be marked as a duplicate (though it's kind of an anti-duplicate!)
The documentation of this change is in /usr/share/ doc/sudo/ changelog. Debian. gz:
sudo (1.7.2p1-1ubuntu4) lucid; urgency=low
* env.c: Revert addition of "http_proxy" again. This was an Ubuntu specific documentation. This is solved in a much better way in apt itself properties now. (LP: #432631)
EBW hack, caused inconsistencies with other proxy variables (such as
https_proxy and ftp_proxy), made sudo incompatible to upstream
behaviour/
and gnome-network-
[changes in intervening versions elided]
-- Martin Pitt <<email address hidden> (1.7.0-1ubuntu1) karmic; urgency=low
[...] keepenv_ table, so that it is kept
- env.c: Add "http_proxy" to initial_
for "sudo apt-get ...". (Ubuntu specific EBW hack, should disappear at
some point)