Hi Tom, Tom wrote: > I get a false positive in debsums on a file with a space in the filename:
Thanks for the bug report! > # debsums -a homegear-zigbee | grep bbaa > debsums: missing file /etc/homegear/devices/26/bbaaPlug (from homegear-zigbee > package) > # grep bbaa /var/lib/dpkg/info/homegear-zigbee.list > /etc/homegear/devices/26/bbaaPlug 013.xml > # grep bbaa /var/lib/dpkg/info/homegear-zigbee.conffiles > /etc/homegear/devices/26/bbaaPlug 013.xml > # ll /etc/homegear/devices/26/bbaaPlug* > -rw-r--r-- 1 root root 12178 Okt 9 17:14 '/etc/homegear/devices/26/bbaaPlug > 013.xml' > # dpkg-query -L homegear-zigbee |grep bbaa > /etc/homegear/devices/26/bbaaPlug 013.xml Thanks for the example. But from where is that package? Doesn't seem to be an official Debian package. Am I right, that the package is from https://apt.homegear.eu/? (Yes, I can construct a package with that characteristica, but being able to work on the exactly same package might be easier.) > I tried to fix it myself, but I'm not sure if this is correct: > > --- /usr/bin/debsums.orig 2021-11-02 15:34:32.689829644 +0100 > +++ /usr/bin/debsums 2021-11-02 16:49:18.669901591 +0100 > @@ -264,7 +264,7 @@ > $package_name{$field{"Package"}} = $field{"binary:Package"}; > } > $installed{$field{"binary:Package"}}{Conffiles} = { > - map m!^\s*/(\S+)\s+([\da-f]+)!, > + map m!^\s*/(.+)\s+([\da-f]+)!, > grep { not ($ignore_obsolete and / obsolete$/) } > split /\n/, $field{Conffiles} > } if $field{Conffiles}; Not sure from a first glance either. This \S looks as if was there on purpose. Will need a closer look. Regards, Axel -- ,''`. | Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE