Package: vrms
Version: 1.9
Severity: important

This program makes the assertion that when a package takes more than 4
lines in the status file, then it's installed.
That's surely not true because, for example, some purged packages have 5
lines: the Architecture field seems to remain after the package has been
purged. (I'm not sure if other than installed_then_purged packages have 5
lines, I didn't check all of them.)

Thus, the count of installed packages may be totally wrong (for ex., vrms
says I have 2457 packages on my system, but 'dpkg --get-selections | wc'
or 'grep "Status: install" status | wc' both agree on 1825).
Hence the statistics about non-free packages vs. installed packaged is
also wrong.

This bug seems to be related to #261866: purged non-free packages with
more than 4 lines in the status file, packages that vrms doesn't know how
to handle as they are marked as "purged ok not-installed".

May be Status should be checked even for more-than-4-lines-not-non-free
packages.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-s2
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

-- no debconf information

-- 
Sylvain Sauvage


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to