Bug#401336: apt: Compressed file ends unexpectedly
Package: apt
Version: 0.6.46.1
Severity: important
Hi,
I've been seeing this for some time:
Get:6 http://ftp.belnet.be sid/main Packages [4402kB]
50% [5 Packages bzip2 0] [6 Packages 11088/4402kB 0%] 298kB/s 14s
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Err http://ftp.belnet.be sid/main Packages
Sub-process bzip2 returned an error code (2)
[...]
91% [7 Sources bzip2 0] [8 Sources 322408/1279kB 25%] 12.3kB/s 1m18s
bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)
It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.
You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.
Err http://ftp.belnet.be sid/main Sources
Sub-process bzip2 returned an error code (2)
Fetched 11.4MB in 3m11s (59.7kB/s)
Failed to fetch http://ftp.belnet.be/debian/dists/sid/main/binary-amd64/Packages.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://ftp.belnet.be/debian/dists/sid/main/source/Sources.bz2 Sub-process bzip2 returned an error code (2)
Reading package lists... Done
W: There are no public key available for the following key IDs:
A70DAF536070D3A1
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.
But everything seems to be fine. Running apt-get update again I then get:
# apt-get update
Get:1 http://ftp.belnet.be sid Release.gpg [378B]
Hit http://ftp.belnet.be sid Release
Hit http://ftp.belnet.be sid/main Packages/DiffIndex
Hit http://ftp.belnet.be sid/main Sources/DiffIndex
Fetched 1B in 0s (2B/s)
Reading package lists... Done
W: There are no public key available for the following key IDs:
A70DAF536070D3A1
W: You may want to run apt-get update to correct these problems
This is on an amd64, if this is relevant.
Kurt
Reply to: