Bug#343557: apt-get update fails
Package: apt
Version: 0.5.28.6
On multiple machines, I get this problem.
My sources.list is thus:
deb ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ testing main contrib non-free
deb http://security.debian.org/ stable/updates main
When I run 'apt-get update', I get this output:
09:07 PM dave@vincent/0 [~] sudo apt-get update
Get:1 http://security.debian.org stable/updates/main Packages [164kB]
Get:2 ftp://ftp.us.debian.org testing/main Packages [3614kB]
Hit http://security.debian.org stable/updates/main Release
14% [1 Packages gzip 0] [2 Packages 390960/3614kB 10%]
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
Err http://security.debian.org stable/updates/main Packages
Sub-process gzip returned an error code (1)
99% [2 Packages gzip 0]
[Query]
584kB/s 0s
gzip: stdin: invalid compressed data--format violated
Err ftp://ftp.us.debian.org testing/main Packages
Sub-process gzip returned an error code (1)
Hit ftp://ftp.us.debian.org testing/main Release
Hit ftp://ftp.us.debian.org testing/contrib Packages
Hit ftp://ftp.us.debian.org testing/contrib Release
Hit ftp://ftp.us.debian.org testing/non-free Packages
Hit ftp://ftp.us.debian.org testing/non-free Release
Get:3 ftp://ftp.us.debian.org testing/main Sources [1367kB]
Hit ftp://ftp.us.debian.org testing/main Release
99% [3 Sources gzip
2191360]
584kB/
s 0s
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
Err ftp://ftp.us.debian.org testing/main Sources
Sub-process gzip returned an error code (1)
Hit ftp://ftp.us.debian.org testing/contrib Sources
Hit ftp://ftp.us.debian.org testing/contrib Release
Hit ftp://ftp.us.debian.org testing/non-free Sources
Hit ftp://ftp.us.debian.org testing/non-free Release
Fetched 5145kB in 11s (457kB/s)
Failed to fetch ftp://ftp.us.debian.org/debian/dists/testing/main/
binary-i386/Packages.gz Sub-process gzip returned an error code (1)
Failed to fetch ftp://ftp.us.debian.org/debian/dists/testing/main/
source/Sources.gz Sub-process gzip returned an error code (1)
Failed to fetch http://security.debian.org/dists/stable/updates/main/
binary-i386/Packages.gz Sub-process gzip returned an error code (1)
Reading Package Lists... Done
W: Couldn't stat source package list ftp://ftp.us.debian.org testing/
main Packages (/var/lib/apt/lists/
ftp.us.debian.org_debian_dists_testing_main_binary-i386_Packages) -
stat (2 No such file or directory)
W: Couldn't stat source package list http://security.debian.org
stable/updates/main Packages (/var/lib/apt/lists/
security.debian.org_dists_stable_updates_main_binary-i386_Packages) -
stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or
old ones used instead.
Reply to: