Bug#368361: apt: Failed to fetch regular Packages.bz2 files
Package: apt
Version: 0.6.44.1
Severity: important
Hi,
Since the introduction of diff-based Packages files in apt, I have
problems with regular old-school Packages.bz2 (or Packages.gz)
files. When I change the Packages.* file on my unofficial repository,
I run apt-get update, I get:
Failed to fetch http://thomas.enix.org/pub/debian/packages/dists/unstable/main/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2)
I know it's not caused by the file itself, because I've found a
workaround. 1) Remove the source from /etc/apt/sources.list, 2) Run
apt-get update, 3) Re-add the source to /etc/apt/sources.list and 4)
Run apt-get update again. And this time, it'll works.
I've reproduced this problem on my sid system, in my sid pbuilder
environnement, and a friend also reproduced it on his sid system.
Sincerly,
Thomas
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb http://ftp.fr.debian.org/debian unstable main non-free contrib
deb-src http://ftp.fr.debian.org/debian unstable main non-free contrib
deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb http://thomas.enix.org/pub/debian/packages/ unstable main
deb-src http://thomas.enix.org/pub/debian/packages/ unstable main
#deb file:/home/thomas/debarchiver/ unstable main
#deb-src http://ftp.de.debian.org/debian unstable main non-free contrib
#deb http://www.cduce.org/download/debian/ ./
#deb http://www.cs.cmu.edu/~ecc unstable main
#deb http://www.bunkus.org/debian/unstable/ ./
#deb http://home.zcu.cz/~elkropac unstable all
#deb file:/var/cache/apt-build/repository apt-build main
#deb http://gate:9999/debian unstable main non-free contrib
#deb-src http://gate:9999/debian unstable main non-free contrib
#deb http://www.kiberpipa.org/~minmax/cinelerra/builds/sid/ ./
#deb http://deb.opera.com/opera/ unstable non-free
#deb http://www.tux.org/pub/java/debian sid main non-free
#deb-src http://mentors.debian.net/debian unstable main contrib non-free
#deb http://members.westnet.com.au/takahe/debian sarge main
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc2
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages apt depends on:
ii libc6 2.3.6-9 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: