[Pkg-libvirt-maintainers] Bug#953997: obsolete conffiles after upgrade
Christoph Anton Mitterer
calestyo at scientia.net
Mon Jun 21 22:51:22 BST 2021
Guess the reason might be that the version used with dpkg-maintscript-
helper rm_conffile could be wrong.
(AFAIU, the version that needs to be specified for that is NOT
the version where the conffile was dropped, but rather "the
latest version of the package whose upgrade should trigger
the operation"
Quoting the manpage:
For example, for a conffile removed in version 2.0-1 of a package,
prior-version should be set to 2.0-1~. This will cause the conffile
to be removed even if the user rebuilt the previous version 1.0-1
as 1.0-1local1. Or a package switching a path from a symlink
(shipped in version 1.0-1) to a directory (shipped in version
2.0-1), but only performing the actual switch in the maintainer
scripts in version 3.0-1, should set prior-version to 3.0-1~.
It seems to rm_conffile was added with d88536d which is 5.6.0-4 while
rm_conffile is invoked with 5.6.0-3\~
Cheers,
Chris.
More information about the Pkg-libvirt-maintainers
mailing list