Bug#370160: treats empty packages/sources files as errors
Package: apt
Version: 0.6.44.1
Severity: serious
I'm not certain where this was introduced; I've been running a version in
experimental with pdiff support until upgrading to 0.6.44.1
apt-cache, apt-get source and similar fail with the following error
E: Unable to parse package file /home/buildd/build/chroot-stable-security/var/lib/apt/lists/security-master.debian.org_debian-security_dists_sarge_updates_contrib_source_Sources (2)
The file exists, but is entirely empty after decompression.
This will be the case after release (hence the severity), when no
security updates have yet been released, or proposed-updates, if we
start adding that to default sources.list files now that things must
be approved before showing up there.
-- 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.16.4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages apt depends on:
ii libc6 2.3.6-13 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:
ii debian-archive-keyring 2006.01.18 GnuPG archive keys of the Debian a
-- no debconf information
Reply to: