vrms: ERROR- Badly formed dpkg-status entry #1381!
             pkg=[libstdc++2.8], pkgstatus=[install ok installed], section=[]
               Non-free packages installed on kodama

It's annoying to still be seeing this from vrms nearly 5 years after I filed
this bug. Especially since vrms would otherwise be proud of my system. So I
wrote a patch.

--- /usr/bin/vrms       2007-01-17 16:59:07.000000000 -0500
+++ vrms        2007-04-13 19:07:50.000000000 -0400
@@ -196,7 +196,7 @@
                }
            }
        }
-       if (!$has_section or !$has_status or !$has_pkg) {
+       if (!$has_status or !$has_pkg) {
            print STDERR "vrms: ERROR- Badly formed dpkg-status entry 
#$clumpcnt!\n";
            print STDERR "             pkg=[$pkg], pkgstatus=[$pkgstatus], 
section=[$section] \n";
        }

I belive that this is correct; a missing section does not indicate that the
status entry is "badly formed", it's simply the consequence of installing a
package that does not contain section information. Few packages did
include that information until 1998. (It's true that vrms can't determine
if such packages are free or not.)

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to