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

Bug#368361: marked as done (please check Index.diff for corruptness)



Your message dated Tue, 11 Feb 2014 22:23:14 +0100
with message-id <20140211212314.GD5697@crossbow>
and subject line Re: please check Index.diff for corruptness
has caused the Debian Bug report #368361,
regarding please check Index.diff for corruptness
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
368361: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368361
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Version: 0.7.26~exp6

Hi,

since apt version 0.7.26~exp6 pdiff indexes are only requested if the
Release file is advertising their presents so the problem described here
can not happen anymore.

It also means that we have now checksums for those files, so apt is
noticing that the file it got is not the file it expected (if the server
isn't as nice as returning a 404 downright), so that is an indirect
check for corruptness as well.

I am therefore closing this bug as done.


Best regards

David Kalnischkies

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: