Le 2023-02-01 à 03 h 14, Paul Wise a écrit :
Package: puppet-agent
Version: 7.22.0-3
Severity: normal
User: debian...@lists.debian.org
Usertags: obsolete-conffile adequate
The recent upgrade did not deal with obsolete conffiles properly.
Please use the dpkg-maintscript-helper support provided by
dh_installdeb to remove these obsolete conffiles on upgrade.
https://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
https://manpages.debian.org/man/1/dh_installdeb
$ p=puppet-agent ; adequate $p ; dpkg-query -W -f='${Conffiles}\n' $p |
grep obsolete
puppet-agent: obsolete-conffile /etc/init.d/puppet-agent
puppet-agent: obsolete-conffile /etc/default/puppet-agent
/etc/init.d/puppet-agent e57bcd8733d0b1f87def2289c80e1598 obsolete
/etc/default/puppet-agent b1a39e98f886262927fe4ab56a5c5991 obsolete
I thought that would be dealt with in this commit:
https://salsa.debian.org/puppet-team/puppet-agent/-/commit/20b3ba73d86ed69a3ec31c11277198dd8a906b2e
Specifically, I added to d/puppet-agent.maintscript:
mv_conffile /etc/default/puppet-agent /etc/default/puppet 7.21.0-2~
mv_conffile /etc/init.d/puppet-agent /etc/init.d/puppet 7.21.0-2~
Do you know why this isn't working as intended?
Thanks,
-- Jérôme