apt-get update through apt-cacher is unreasonably slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt-cacher
apt-get update takes a few seconds when the index files are downloaded directly, but through apt-cacher it takes minutes, and is an unreasonable amount of time to wait when updating several machines. CPU usage is fine with apt-cacher rarely using more than 1%.
Through apt-cacher:
real 5m18.952s
user 0m0.320s
sys 0m0.440s
Without apt-cacher:
real 0m12.762s
user 0m0.180s
sys 0m0.140s
Downloading packages is fine (apt-get install foo bar) - it does so at full speed, but it seems to struggle massively with updates.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: apt-cacher 1.6.10ubuntu2
ProcVersionSign
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Wed Jul 7 14:03:27 2010
PackageArchitec
ProcEnviron:
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: apt-cacher
OK, not strictly true. apt-get install is slow waiting for headers, downloading is fine but waiting for headers takes far too long.
I've added a tcpdump during an apt-get update. I don't know if it's any use, I can't see anything in there. Possibly needs to be more verbose.