On Tue, 5 Apr 2011, Raphael Hertzog wrote: > Hello, > > On Tue, 05 Apr 2011, Sven-Haegar Koch wrote: > > aurora:~# dpkg -l > > dpkg-query: warning: parsing file '/var/lib/dpkg/status' near line 301 > > package 'libmimelib1': > > missing architecture > [...] > > These seem all to only affect packages long removed, but not purged. > > Can you show us the entry in the status file for one of those packages? > > Packages which are in status "config-files" (i.e. removed but not purged) > should have all their status information including the Architecture field.
Two examples: Package: libmimelib1 Status: deinstall ok config-files Priority: optional Section: libs Installed-Size: 264 Maintainer: Christopher L Cheney <cche...@debian.org> Source: kdenetwork Version: 4:3.1.4-1 Config-Version: 4:3.1.4-1 Provides: libmimelib Depends: libc6 (>= 2.3.2-1), libgcc1 (>= 1:3.3.1-1), libstdc++5 (>= 1:3.3.1-1) Conflicts: libmimelib Description: KDE network mime library KDE is a powerful Open Source graphical desktop environment for Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of the Unix operating system. . This library is used by several KDE applications to handle mime types. . This package is part of the official KDE network module. Package: epic4 Status: deinstall ok config-files Priority: optional Section: net Installed-Size: 944 Maintainer: Joseph Carter <knght...@debian.org> Version: 1:1.0.1-1 Config-Version: 1:1.0.1-1 Provides: irc Depends: libc6 (>= 2.2.2-2), libncurses5 (>= 5.2.20010310-1), epic4-help Suggests: epic4-script Conflicts: epic4-dbg Conffiles: /etc/epic4/epic4.irc 1671c2de63dcddc761ff2e3cc8ade8cb /etc/epic4/servers 90e770be749c418b27a2a1ba19536f71 /etc/epic4/epic4.irc 8ef1b800ab08b734e025cd81aa25df6a /etc/epic4/servers 90e770be749c418b27a2a1ba19536f71 Description: epic irc client, version 4 epic4 is an irc client based on ircII. It is primarily suited to users who wish to write their own irc scripts or have irc scripts written by others. . Previous versions of epic were 100% compatible with ircII 2.8.2, though this is no longer the case. Instead we've taken a new direction and chosen to find places where compatibility with ircII is undesirable and fix them. No gratuitous incompatibilities have been added, though many new features have been. > > dpkg: warning: parsing file '/var/lib/dpkg/available' near line 33441 > > package 'am-utils': > > 'Replaces' field, reference to 'amd': error in version: version number > > does not start with digit > > Clean up the cruft in the available file by running "dpkg --clear-avail" > and you'll get rid of those. This helped, and removed all the problems with /var/lib/dpkg/available (but not with the /var/lib/dpkg/status warnings). Thanks, c'ya sven-haegar -- Three may keep a secret, if two of them are dead. - Ben F. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org