Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
On Thu, Jun 30, 2005 at 07:42:54AM -0700, Matt Zimmerman wrote: On Thu, Jun 30, 2005 at 10:03:50AM +0200, Jan De Luyck wrote: Package: apt Version: 0.6.38 Severity: important When running apt-get update on the sources below, I get the following problem: Failed to fetch ftp://ftp.nl.debian.org/debian/dists/../project/experimental/non-free/binary-i386/Packages.gz Sub-process bzip2 returned an error code (2) Which states that apt tried to use bzip2 on a .gz file. The Packages.gz file is okay when downloaded manually and gunzipped. That's odd...it may be that the error message is misleading, though. Did you try downloading the .bz2 file and testing it? It was indeed a incorrectly reported error message (the problem is real, but the error message is misleading). I fixed that in my apt--fixes--0 branch (patch-12). Sorry for that. Cheers, Michael -- Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
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. -- - mdz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
On Thu, Jun 30, 2005 at 06:06:31PM +0200, Jan De Luyck wrote: 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 This doesn't look quite right...please send sources.list. -- - mdz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
On Thursday 30 June 2005 18:13, Matt Zimmerman wrote: 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 This doesn't look quite right...please send sources.list. [EMAIL PROTECTED]:~$ cat /etc/apt/sources.list | grep -v ^# deb ftp://ftp.nl.debian.org/debian/ ../project/experimental main non-free contrib -- Swahili, n.: The language used by the National Enquirer to print their retractions. -- Johnny Hart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
severity 316337 normal thanks On Thu, Jun 30, 2005 at 10:03:50AM +0200, Jan De Luyck wrote: Package: apt Version: 0.6.38 Severity: important When running apt-get update on the sources below, I get the following problem: Failed to fetch ftp://ftp.nl.debian.org/debian/dists/../project/experimental/non-free/binary-i386/Packages.gz Sub-process bzip2 returned an error code (2) Which states that apt tried to use bzip2 on a .gz file. The Packages.gz file is okay when downloaded manually and gunzipped. That's odd...it may be that the error message is misleading, though. Did you try downloading the .bz2 file and testing it? -- - mdz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
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. Jan -- Generic Fortune. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#316337: apt-get update uses bzip on Packages.gz when no .bz2 is available
On Thu, Jun 30, 2005 at 08:56:24AM -0700, 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. I can reproduce it here. Interesstingly enough it works fine with the ftp.debian.org server. And the ftp.nl.debian.org server seems to work sometimes too and it fails sometimes. I wonder if apt sometimes does not detect that no Packages.bz2 file is available on the server (or if the server doesn't tell that in a reliable way). I ran it with: apt-get update -o Debug::Acquire::ftp=true and -o Debug::pkgAcquire=true but so far I haven't found anything interessting :/ Cheers, Michael -- Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]