Bug#1017632: lintian: False positive on partial match for bin-sbin-mismatch
Package: lintian
Version: 2.115.2
Severity: normal
Hi!
The bin-sbin-mismatch triggers false positives on partial matches such
as /usr/bin/dpkg-www and /usr/sbin/dpkg-www-installer, or
/usr/bin/dpkg and /usr/sbin/dpkg-fsys-usrunmess.
This is due to the check in lib/Lintian/Check/Files/Contents.pm, where
it essentially does the following:
perl -E '$str = "/bin/dpkg-www-installer"; \
say "wrong-match" if $str =~ m{\B/\Qbin/dpkg-www\E\b}x'
I've got false-positives in dpkg and dpkg-www.
Thanks,
Guillem
Reply to: