Package: apt Version: 0.5.4 Severity: wishlist File: /usr/bin/apt-get
One thing you might address would be say one did a lengthy apt-get update on ones modem, and one tiny file wasn't fetched. Ok, if the user just does apt-get update again, many megabytes are hauled wastefully over the line again and that one file won't necessarily have any better luck at getting updated. therefore, perhaps add http header last-modified etc. test... indeed ah ha: use similar methods to avoid getting .debs already got, but with Packages.gz files themselves instead of .debs... e.g. below, this took many minutes. there is no easy way for the user to retry without uselessly regetting unchanged files. indeed, say a particular Packages.gz hasn't changed in a month, not just since this connection. it too shoudn't be regotten. # apt-get update Get:1 http://debian.linux.org.tw sid/main Packages [2371kB] Get:2 http://security.debian.org sid/non-US/main Packages [21.2kB] Get:3 http://marillat.free.fr unstable/main Packages [9737B] Hit http://marillat.free.fr unstable/main Release Err http://security.debian.org sid/non-US/main Packages Error reading from server Remote end closed connection Get:4 http://security.debian.org sid/non-US/main Release [89B] Hit http://security.debian.org sid/non-US/contrib Packages Get:5 http://security.debian.org sid/non-US/contrib Release [92B] Hit http://security.debian.org sid/non-US/non-free Packages Get:6 http://security.debian.org sid/non-US/non-free Release [93B] Get:7 http://debian.linux.org.tw sid/main Release [82B] Get:8 http://debian.linux.org.tw sid/contrib Packages [77.2kB] Get:9 http://debian.linux.org.tw sid/contrib Release [85B] Get:10 http://debian.linux.org.tw sid/non-free Packages [73.5kB] Get:11 http://debian.linux.org.tw sid/non-free Release [86B] Get:12 http://debian.linux.org.tw sid/non-US/main Packages [21.2kB] Get:13 http://debian.linux.org.tw sid/non-US/main Release [89B] Hit http://debian.linux.org.tw sid/non-US/contrib Packages Get:14 http://debian.linux.org.tw sid/non-US/contrib Release [92B] Hit http://debian.linux.org.tw sid/non-US/non-free Packages Get:15 http://debian.linux.org.tw sid/non-US/non-free Release [93B] Fetched 2554kB in 17m20s (2455B/s) Failed to fetch http://security.debian.org/debian-non-US/dists/sid/non-US/main/binary-i386/Packages Error reading from server Remote end closed connection Reading Package Lists... Done Building Dependency Tree... Done E: Some index files failed to download, they have been ignored, or old ones used instead. -- System Information: Debian Release: testing/unstable Architecture: i386 Kernel: Linux debian 2.4.19-k7 #1 Sun Oct 6 20:29:56 EST 2002 i686 Locale: LANG=zh_TW.Big5, LC_CTYPE=zh_TW.Big5 Versions of packages apt depends on: ii libc6 2.3.1-10 GNU C Library: Shared libraries an ii libstdc++2.10-glibc2.2 1:2.95.4-15 The GNU stdc++ library -- no debconf information

