Support for this version has ended
** Changed in: apt (Ubuntu)
Status: Confirmed => Invalid
** Changed in: apt
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/814130
Title:
Acquire::http::ProxyAutoDetect is executed multiple times for each
host
Status in APT:
Invalid
Status in apt package in Ubuntu:
Invalid
Bug description:
For each host that is involved in an update/ installation, APT executes the
command set in Acquire::http::ProxyAutoDetect. On a default installation, sudo
apt-get update executed the command twice because archive.ubuntu.com and
security.ubuntu.com are both mentioned in /etc/apt/sources.conf. As PPAs are
commonly used, this increases to three.
With a lot of third-party repository sources, this number rises a lot. If the
proxy detection command is slow, there might be a delay during the source lists
updates and package installations.
Affected versions:
0.8.13.2ubuntu4.1 (Ubuntu Natty)
0.7.25.3ubuntu9.5 (Ubuntu Lucid)
0.8.15.2 (Debian unstable)
Steps to reproduce:
1. Create /etc/apt/print-message containing:
#!/bin/sh
echo CALLED >&2
2. Create /etc/apt/apt.conf.d/30proxy-test containing:
Acquire::http::ProxyAutoDetect "/etc/apt/print-message";
3. Run sudo apt-get update or install a PPA package which depends on a
package from the official repos which is not installed yet
4. Clean up by removing /etc/apt/apt.conf.d/30proxy-test and
/etc/apt/print-message
What I expected to happen:
CALLED should be printed once
What happened instead:
CALLED is printed a few times for each involved host.
To manage notifications about this bug go to:
https://bugs.launchpad.net/apt/+bug/814130/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp