Bug#1119083: lintian: udebs should not be flagged with: missing-call-to-dpkg-maintscript-helper rm_conffile
Package: lintian
Version: 2.122.0
Severity: normal
Hi,
When running lintian against console-setup it reports[1] two errors:
E: console-setup-udeb udeb: missing-call-to-dpkg-maintscript-helper rm_conffile [postrm]
E: console-setup-udeb udeb: missing-call-to-dpkg-maintscript-helper rm_conffile [preinst]
however, udebs are components of debian-installer and are therefore never
subject to upgrades or removals, so this seems to be a false positive.
Since console-setup also generates normal .deb packages, it would be nice to be
able to enable the salsa-CI lintian job for this to catch errors in the standard
packages, but currently that just results in the pipeline always failing.
BTW I tried adding an override for this, but noticed that dh_lintian was not
included in the current rules for the udebs, and even when I added that,
dh_lintian ignores udebs (probably rightly, as they're meant to be minimal, so
shouldn't include things like lintian overrides files)
Cheers, Phil.
[1] https://salsa.debian.org/philh/console-setup/-/jobs/8499965
Reply to: