Bug#328485: update also leaves behind files it cannot unzip
I use the round-robin name http.us.debian.org in my apt.sources file.
For some reason, the Sources.gz file on one or more of the mirrors is
incorrectly constructed, or possibly I am receiving an error document.
I have not successfully investigated this aspect yet.
However, after this occurs, apt will never recover, leaving the invalid
Sources.gz in partial despite attempts to update again, blocking
successful acquisition of a valid Sources.gz
Running: su -c "apt-get update"
Password:
Ign file: apt-build Release.gpg
Get:1 file: apt-build Release [89B]
Ign file: apt-build/main Packages
Ign http://www.rcdrummond.net sid Release.gpg
Ign http://www.rcdrummond.net sid Release
Ign http://www.rcdrummond.net sid/main Packages
Get:2 http://http.us.debian.org testing Release.gpg [189B]
Get:3 http://http.us.debian.org unstable Release.gpg [189B]
Hit http://www.rcdrummond.net sid/main Packages
Hit ftp://ftp.sonic.net testing Release.gpg
Ign http://mayhq.org ./ Release.gpg
Hit http://http.us.debian.org testing Release
Get:4 ftp://ftp.sonic.net testing Release [35.9kB]
Ign http://mayhq.org ./ Release
Ign http://exodus.xmms.se stable Release.gpg
Hit http://http.us.debian.org unstable Release
Hit http://mayhq.org ./ Packages
Hit http://http.us.debian.org testing/main Sources
Hit http://http.us.debian.org testing/contrib Sources
Ign http://exodus.xmms.se stable Release
Hit http://mayhq.org ./ Sources
Ign http://http.us.debian.org testing/non-free Sources
Hit http://http.us.debian.org unstable/main Packages
Hit http://http.us.debian.org unstable/non-free Packages
Ign http://exodus.xmms.se stable/main Packages
Get:5 ftp://ftp.nerim.net etch Release.gpg [189B]
Hit http://http.us.debian.org unstable/contrib Packages
Get:6 http://exodus.xmms.se stable/main Packages [2581B]
Hit http://http.us.debian.org unstable/main Sources
Hit http://http.us.debian.org unstable/non-free Sources
Hit http://http.us.debian.org unstable/contrib Sources
Get:7 http://http.us.debian.org testing/non-free Sources [23.2kB]
99% [7 Sources gzip 0] [Query] [5 Release.gpg 0/189B 0%]
gzip: stdin: not in gzip format
Err http://http.us.debian.org testing/non-free Sources
Sub-process gzip returned an error code (1)
Hit ftp://ftp.sonic.net testing/main Packages
Hit ftp://ftp.sonic.net testing/contrib Packages
Hit ftp://ftp.sonic.net testing/non-free Packages
Hit ftp://ftp.nerim.net etch Release
Hit ftp://ftp.nerim.net etch/main Packages
Fetched 38.8kB in 5s (7510B/s)
Failed to fetch http://http.us.debian.org/debian/dists/testing/non-free/source/Sources.gz Sub-process gzip returned an error code (1)
Reading package lists... Done
This will never succeed.
Skonnos:/var/lib/apt/lists/partial# rm http.us.debian.org_debian_dists_testing_non-free_source_Sources
Now it will succeed.
Skonnos:/var/lib/apt/lists/partial# feta update
Running: apt-get update
Ign file: apt-build Release.gpg
Get:1 file: apt-build Release [89B]
Ign file: apt-build/main Packages
Ign http://www.rcdrummond.net sid Release.gpg
Ign http://www.rcdrummond.net sid Release
Get:2 http://http.us.debian.org testing Release.gpg [189B]
Get:3 http://http.us.debian.org unstable Release.gpg [189B]
Ign http://www.rcdrummond.net sid/main Packages
Hit http://www.rcdrummond.net sid/main Packages
Hit http://http.us.debian.org testing Release
Hit ftp://ftp.sonic.net testing Release.gpg
Ign http://exodus.xmms.se stable Release.gpg
Ign http://mayhq.org ./ Release.gpg
Hit http://http.us.debian.org unstable Release
Get:4 ftp://ftp.sonic.net testing Release [35.9kB]
Ign http://exodus.xmms.se stable Release
Ign http://mayhq.org ./ Release
Hit http://http.us.debian.org testing/main Sources
Hit http://http.us.debian.org testing/contrib Sources
Ign http://exodus.xmms.se stable/main Packages
Hit http://mayhq.org ./ Packages
Get:5 http://http.us.debian.org testing/non-free Sources [20.2kB]
Hit http://mayhq.org ./ Sources
Get:6 http://exodus.xmms.se stable/main Packages [2581B]
Hit ftp://ftp.nerim.net etch Release.gpg
Hit http://http.us.debian.org unstable/main Packages
Hit http://http.us.debian.org unstable/non-free Packages
Hit http://http.us.debian.org unstable/contrib Packages
Hit http://http.us.debian.org unstable/main Sources
Hit http://http.us.debian.org unstable/non-free Sources
Hit http://http.us.debian.org unstable/contrib Sources
Hit ftp://ftp.nerim.net etch Release
Hit ftp://ftp.sonic.net testing/main Packages
Hit ftp://ftp.sonic.net testing/contrib Packages
Hit ftp://ftp.sonic.net testing/non-free Packages
Hit ftp://ftp.nerim.net etch/main Packages
Fetched 58.8kB in 5s (10.9kB/s)
Reading package lists... Done
apt Version: 0.6.42.1
-josh
Reply to: