Very long timeout when doing apt-get update

Bug #261408 reported by Lionel Dricot
52
This bug affects 10 people
Affects Status Importance Assigned to Milestone
apt-proxy (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

When doing an apt-get update with an apt-proxy source, there's always a very very long timeout (up to 5-6 minutes).

The apt-get update is bloqued to 47% or 98% with [Waiting for headers]

The apt-proxy looks like :

2008/08/26 10:28 +0200 [Channel,31,172.23.2.200] '[HttpRequestClient] abort - unknown extension for file dists/hardy-updates/universe/i18n/Translation-en_US.bz2'
2008/08/26 10:28 +0200 [Channel,31,172.23.2.200] '[HttpRequestClient] abort - unknown extension for file dists/hardy-updates/main/i18n/Translation-en_US.bz2'
2008/08/26 10:28 +0200 [Channel,31,172.23.2.200] '[HttpRequestClient] abort - unknown extension for file dists/hardy-updates/multiverse/i18n/Translation-en_US.bz2'
2008/08/26 10:28 +0200 [Channel,31,172.23.2.200] '[HttpRequestClient] abort - unknown extension for file dists/hardy-updates/restricted/i18n/Translation-en_US.bz2'
2008/08/26 10:28 +0200 [TimeoutProtocol,client] [fetcher] (dists/hardy-updates/Release.gpg) up_to_date
2008/08/26 10:28 +0200 [TimeoutProtocol,client] [CacheEntry] sending file from cache:/var/cache/apt-proxy/ubuntu/dists/hardy-updates/Release.gpg
2008/08/26 10:28 +0200 [TimeoutProtocol,client] [CacheEntry] transfer_file:/var/cache/apt-proxy/ubuntu/dists/hardy-updates/Release.gpg
2008/08/26 10:28 +0200 [TimeoutProtocol,client] Stopping factory <apt_proxy.fetchers.HttpFetcher instance at 0x8505ccc>
2008/08/26 10:28 +0200 [TimeoutProtocol,client] Stopping factory <twisted.protocols.policies.TimeoutFactory instance at 0x8505b0c>
2008/08/26 10:29 +0200 [Channel,32,172.23.3.111] [CacheEntry] this is a real request:/var/cache/apt-proxy/security/dists/hardy-security/main/i18n/Translation-fr.bz2
2008/08/26 10:29 +0200 [Channel,32,172.23.3.111] [CacheEntry] start download:dists/hardy-security/main/i18n/Translation-fr.bz2
2008/08/26 10:30 +0200 [Channel,33,172.23.2.200] [CacheEntry] this is a real request:/var/cache/apt-proxy/security/dists/hardy-security/Release.gpg
2008/08/26 10:30 +0200 [Channel,33,172.23.2.200] [CacheEntry] start download:dists/hardy-security/Release.gpg
2008/08/26 10:31 +0200 [Channel,34,172.23.3.111] [CacheEntry] this is a real request:/var/cache/apt-proxy/security/dists/hardy-security/main/i18n/Translation-fr.bz2
2008/08/26 10:31 +0200 [Channel,34,172.23.3.111] [CacheEntry] start download:dists/hardy-security/main/i18n/Translation-fr.bz2

Revision history for this message
Luis Fernando Planella Gonzalez (luisfpg) wrote :

I can confirm this in Hardy.
Using apt-proxy on hardy server.
When clients perform an apt-get update, it takes several minutes for headers to be downloaded.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Confirming this bug on jaunty

Changed in apt-proxy:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Babstar (debian-lists) wrote :

I can confirm this bug in Karmic.

Revision history for this message
Bump (bump55) wrote :

apt-get should use wget -c to download files.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.