#766837 apt-cacher: Download limits for apt-get cause fails

#766837#5
Date:
2014-10-26 08:41:03 UTC
From:
To:
When I run apt-get update with a limited download bandwidth, I see intermittent errors. I run that from cron-apt, i.e. I see essentially almost every
day that at least one or two files did not download properly (out of approx. 20 for jessie, sid, and experimental).

root@home:~# apt-get update -o Debug::Acquire::http=True -o Acquire::http::Dl-Limit=25
0% [Working]GET /apt-cacher/ftp-stud.fht-esslingen.de/debian/dists/jessie/InRelease HTTP/1.1
Host: localhost:3142
Cache-Control: max-age=0
Accept: text/*
If-Modified-Since: Sat, 25 Oct 2014 20:53:41 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.9.3)


0% [Waiting for headers]Answer for: http://localhost:3142/apt-cacher/ftp-stud.fht-esslingen.de/debian/dists/jessie/InRelease
HTTP/1.1 200 OK
Connection: Keep-Alive
Date: Sun, 26 Oct 2014 07:46:14 GMT
Via: 1.1 home:3142 (apt-cacher/1.7.10)
Accept-Ranges: bytes
ETag: "2eaae-5064a83d9f840"
Server: Apache/2.4.10 (Fedora)
Content-Length: 191150
Last-Modified: Sun, 26 Oct 2014 02:53:13 GMT

Get:1 http://localhost:3142 jessie InRelease [191 kB]
93% [1 InRelease 177 kB/191 kB 93%]                                                                                                             19.8 kB/s 0sGET /apt-cacher/ftp-stud.fht-esslingen.de/debian/dists/sid/InRelease HTTP/1.1
Host: localhost:3142
Cache-Control: max-age=0
Accept: text/*
If-Modified-Since: Sat, 25 Oct 2014 20:53:50 GMT
User-Agent: Debian APT-HTTP/1.3 (1.0.9.3)


Answer for: http://localhost:3142/apt-cacher/ftp-stud.fht-esslingen.de/debian/dists/sid/InRelease
HTTP/1.1 200 OK
[...]
Err http://localhost:3142 experimental/non-free armhf Packages
  404  Not Found [IP: ::1 3142]
Fetched 10.6 MB in 7min 17s (24.3 kB/s)
W: Failed to fetch http://localhost:3142/apt-cacher/ftp-stud.fht-esslingen.de/debian/dists/sid/contrib/binary-armhf/Packages  404  Not Found [IP: ::1 3142]

W: Failed to fetch http://localhost:3142/apt-cacher/ftp-stud.fht-esslingen.de/debian/dists/experimental/non-free/binary-armhf/Packages  404  Not Found [IP: ::1 3142]

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@home:~#

Please let me know, if you would like to have additional data.

Thanks,
Rainer

#766837#8
Date:
2014-10-26 10:30:38 UTC
From:
To:
Do you mean with config option limit and/or limit_global set? What values are they set to?

Could you enable debugging and send the output of /var/log/apt-cacher/error.log
relating to one to the 404 responses.

Thanks.

Mark