Control: reopen -1

On Mon, 2018-04-02 at 11:49 +0000, Alexander Kulak wrote:

>   * Remove obsoleted conffile (closes: #893687)

I just upgraded but I still have an obsolete conffile.

It looks like you got the version number wrong:

$ grep dpkg-maintscript-helper /var/lib/dpkg/info/ccrypt.*
/var/lib/dpkg/info/ccrypt.postinst:dpkg-maintscript-helper rm_conffile 
/etc/emacs/site-start.d/50ccrypt.el 1.10-5\~ ccrypt -- "$@"
/var/lib/dpkg/info/ccrypt.postrm:dpkg-maintscript-helper rm_conffile 
/etc/emacs/site-start.d/50ccrypt.el 1.10-5\~ ccrypt -- "$@"
/var/lib/dpkg/info/ccrypt.preinst:dpkg-maintscript-helper rm_conffile 
/etc/emacs/site-start.d/50ccrypt.el 1.10-5\~ ccrypt -- "$@"
/var/lib/dpkg/info/ccrypt.prerm:dpkg-maintscript-helper rm_conffile 
/etc/emacs/site-start.d/50ccrypt.el 1.10-5\~ ccrypt -- "$@"

https://manpages.debian.org/man/1/dpkg-maintscript-helper

   If the conffile has not been shipped for several versions, and you
   are now modifying the maintainer scripts to clean up the obsolete
   file, prior-version should be based on the version of the package
   that you are now preparing, not the first version of the package
   that lacked the conffile. This applies to all other actions in the
   same way.

   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~.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to