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

Bug#368361: apt fails also to fetch Packages.bz2 also under etch



Package: apt
Version: 0.6.44.2
Followup-For: Bug #368361


Hi,

I have the same issue with etch, and some more info:

I also get the following lines:

[...]
	99% [17 Packages bzip2 811008] [Connecting to
	MYPROXYSERVER.
	bzip2: Data integrity error when decompressing.
		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.

	Errhttp://security.debian.org testing/updates/main Packages
	  Sub-process bzip2 returned an error code (2)
[...]
	Failed to fetch
	http://security.debian.org/dists/testing/updates/main/binary-i386/Packages.bz2
	Sub-process bzip2 returned an error code (2)
	Reading package lists... Done
	W: GPG error: http://security.debian.org testing/updates Release: The
	following signatures were invalid: BADSIG 010908312D230C5F Debian
	Archive Automatic Signing Key (2006) <ftpmaster@debian.org>
	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.

Some more remarks:
- the signature message appears and disappears, I don't know if it's
  related to the primary error, which is always reproduceable (once it
  has appeared).
- I've got the same issue for different servers/files, and generally it
  disappears after a few days without any action.
- using the hint from the original poster does in deed remove the issue
  (remove from sources.list, update, re-add, re-update).
- doesn't seem to be due to environment, as a wget on .../Packages.bz2
  followed by bunzip2 in the same shell, and between two calls to
  'apt-get update', doesn't show any issue.
- don't believe too much the below configuration, because:
	1. I have a few more sources under /etc/apt/sources.list.d
	2. My proxy is actually defined through an http_proxy
	   environment variable (i.e. wget is also influenced by it).

Cheers, Eric

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Default-Release "testing";
APT::Cache-Limit "20000000";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
 "Apt::Get::Purge";
http "";
http::Proxy "MYPROXYSERVER";
http::Proxy::MYINTERNALSERVER "DIRECT";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Testing Security
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free

# Testing
deb http://ftp.de.debian.org/pub/debian testing main contrib non-free
deb-src http://ftp.de.debian.org/pub/debian testing main contrib non-free

# Unstable
deb http://ftp.de.debian.org/debian unstable main contrib non-free
deb-src http://ftp.de.debian.org/debian unstable main contrib non-free

# Experimental
deb http://ftp.de.debian.org/debian/ ../project/experimental main


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-8nc6k1
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.0-4  GCC support library
ii  libstdc++6                    4.1.0-4    The GNU Standard C++ Library v3

Versions of packages apt recommends:
pn  debian-archive-keyring        <none>     (no description available)

-- no debconf information



Reply to: