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

Bug#364989: error bzip2: Compressed file ends unexpectedly using apt-get update



Package: apt
Version: 0.6.43.3
Severity: important

When using apt-get update, I often get this kind of error messages :

    Atteint ftp://ftp.fr.debian.org stable/main Packages
    99% [Packages bzip2 0] [Requête] [Requête] [Requête]
    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.debian.org testing/updates/main Packages
    Le sous-processus bzip2 a renvoyé un code d'erreur (2)

when this occurs, the only way I've found to get the update info is to modify my /etc/apt/sources.list by choosing others ftp server for the corrupted file, 
this works for some time then the same problem occurs using the other server, so I change my config again... 		  

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Cache-Limit "16777216";
APT::Periodic "";
APT::Periodic::AutocleanInterval "1";
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/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";

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


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

deb ftp://ftp.debian.org/debian-security/ testing/updates main contrib non-free
deb ftp://ftp.fr.debian.org/debian/ stable main contrib non-free 
deb ftp://ftp.fr.debian.org/debian/ testing main contrib non-free 
deb ftp://ftp.fr.debian.org/debian/ proposed-updates main contrib non-free 
deb ftp://ftp.ens-cachan.fr/debian-volatile/ stable/volatile main contrib non-free


-- System Information:
Debian Release: testing/unstable
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.20
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)

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

Versions of packages apt recommends:
ii  debian-archive-keyring        2006.01.18 GnuPG archive keys of the Debian a

-- no debconf information



Reply to: