Bug#166936: apt barfs on valid status file
Package: apt
Version: 0.5.4
Severity: grave
Justification: renders package unusable
This has me puzzled:
firewall:/var/lib/dpkg# apt-get update
< snip a dozen package/Release hits for stable and testing >
Reading Package Lists... Done
Building Dependency Tree... Done
firewall:/var/lib/dpkg# dpkg --configure bsdmainutils
Setting up bsdmainutils (5.20020211-8) ...
firewall:/var/lib/dpkg# apt-get update
< snip a dozen package/Release hits for stable and testing >
Reading Package Lists... Error!
E: Unable to parse package file /var/lib/dpkg/status (1)
E: The package lists or status file could not be parsed or opened.
This is the diff between a working and a non-working status file:
--- status.good 2002-10-29 15:20:40.000000000 +0100
+++ status 2002-10-29 15:30:56.000000000 +0100
@@ -45706,13 +45706,12 @@
Section: admin
Package: bsdmainutils
-Status: install ok unpacked
+Status: install ok installed
Priority: important
Section: utils
Installed-Size: 564
Maintainer: Tollef Fog Heen <tfheen@debian.org>
Version: 5.20020211-8
-Config-Version: 5.20020211-7
Replaces: bsdutils (<< 3.0-0)
Depends: libc6 (>= 2.2.5-13), libncurses5 (>= 5.2.20020112a-1), bsdutils (>= 3.0-0), debianutils (>= 1.8), debconf
Suggests: cpp, wenglish | wordlist, whois, vacation
The result is definitely a normal status file.
Wichert.
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux thunder 2.4.19-pre5-ac3-freeswan196 #1 Mon Apr 15 23:03:51 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8
Versions of packages apt depends on:
ii libc6 2.2.5-11.2 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2.2 1:2.95.4-7 The GNU stdc++ library
Reply to: