[pmg-devel] [PATCH pmg-api] fix #3915: remove obsolete /etc/apt/apt.conf.d/75pmgconf

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Aug 30 15:35:20 CEST 2022


Am 30/08/2022 um 10:30 schrieb Stoiko Ivanov:
> this was forgotten when introducing the more flexible kernel-keeping
> logic with proxmox-boot-tool (in 6.4).
> 
> while this file is present no pve-kernel gets autoremoved.
> 
> using debian/conffiles (deb-conffiles(5)) logic for this following the
> recommendation from (dpkg-maintscript-helper(1) - for dpkg > 1.20.6).

needs also debhelper >= 13.5~ to ensure that conffiles is actually shipped by
the package[0], for us that isn't a real problem as we already backported that
version and uploaded it to our devel repo a while ago, but the current stable
(i.e., non-backports) lintian 2.104.0 is still confused about this and throws
in three errors w.r.t conffiles, so we'd need to depend on the 2.115.1 version
from backports, which doesn't results in false positive errors.

Would be fine for me, it's both easily encodable in d/control after all, albeit
[0] also mentions:

> For bullseye, my recommendation would be to stick with "rm_conffile" in
> debian/<pkg>.maintscripts.

Which, I think, stems mostly from the fact that debian hasn't the flexibility we
have w.r.t. to enforcing the use of bpo packages for building (which we already
to for some other things, so nothing really new).

Note that I actually didn't check for building with the default debhelper,
so if it works there, and that without causing lintian to choke (which would
explain you not noticing this issue), I'd still see that as issue (as our default
and target debhelper *is* 13.5)

[0]: https://lists.debian.org/debian-devel/2021/08/msg00569.html






More information about the pmg-devel mailing list