[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available



On Thursday 30 June 2005 17:56, Matt Zimmerman wrote:
> On Thu, Jun 30, 2005 at 05:47:37PM +0200, Jan De Luyck wrote:
> > On Thursday 30 June 2005 16:42, Matt Zimmerman wrote:
> > > That's odd...it may be that the error message is misleading, though. 
> > > Did you try downloading the .bz2 file and testing it?
> >
> > Well, fact is, there is no .bz2 file. Only a .gz.
>
> It certainly works with other archives which have only Packages.gz...I
> wonder what's weird about experimental.

Well, it's an intermittent problem it seems.

Two runs, directly one after another (sources file reduced to only experimental)

precious:/etc/apt# apt-get update
Hit ftp://ftp.nl.debian.org ../project/experimental Release.gpg
Hit ftp://ftp.nl.debian.org ../project/experimental Release
Get:1 ftp://ftp.nl.debian.org ../project/experimental/main Packages
Ign ftp://ftp.nl.debian.org ../project/experimental/main Packages
Get:2 ftp://ftp.nl.debian.org ../project/experimental/non-free Packages
Ign ftp://ftp.nl.debian.org ../project/experimental/non-free Packages
Get:3 ftp://ftp.nl.debian.org ../project/experimental/contrib Packages
Ign ftp://ftp.nl.debian.org ../project/experimental/contrib Packages
Get:4 ftp://ftp.nl.debian.org ../project/experimental/main Packages [146kB]
Hit ftp://ftp.nl.debian.org ../project/experimental/non-free Packages
Hit ftp://ftp.nl.debian.org ../project/experimental/contrib Packages
Fetched 146kB in 2s (59.0kB/s)
Reading package lists... Done

precious:/etc/apt# apt-get update
Hit ftp://ftp.nl.debian.org ../project/experimental Release.gpg
Hit ftp://ftp.nl.debian.org ../project/experimental Release
Get:1 ftp://ftp.nl.debian.org ../project/experimental/main Packages
Ign ftp://ftp.nl.debian.org ../project/experimental/main Packages
99% [Packages bzip2 0] [Query]
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 ftp://ftp.nl.debian.org ../project/experimental/non-free Packages
  Sub-process bzip2 returned an error code (2)
99% [Working]                 
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 ftp://ftp.nl.debian.org ../project/experimental/contrib Packages
  Sub-process bzip2 returned an error code (2)
Hit ftp://ftp.nl.debian.org ../project/experimental/main Packages
Failed to fetch ftp://ftp.nl.debian.org/debian/dists/../project/experimental/non-free/binary-i386/Packages.gz  Sub-process bzip2 returned an e
rror code (2)
Failed to fetch ftp://ftp.nl.debian.org/debian/dists/../project/experimental/contrib/binary-i386/Packages.gz  Sub-process bzip2 returned an er
ror code (2)
Reading package lists... Done
W: Couldn't stat source package list ftp://ftp.nl.debian.org ../project/experimental/non-free Packages (/var/lib/apt/lists/ftp.nl.debian.org_d
ebian_dists_.._project_experimental_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.nl.debian.org ../project/experimental/contrib Packages (/var/lib/apt/lists/ftp.nl.debian.org_de
bian_dists_.._project_experimental_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.nl.debian.org ../project/experimental/non-free Packages (/var/lib/apt/lists/ftp.nl.debian.org_d
ebian_dists_.._project_experimental_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.nl.debian.org ../project/experimental/contrib Packages (/var/lib/apt/lists/ftp.nl.debian.org_de
bian_dists_.._project_experimental_contrib_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.
precious:/etc/apt# 

Can I debug in one way or another what exactly APT is trying to download?
-- 
A paranoid is a man who knows a little of what's going on.
		-- William S. Burroughs



Reply to: