On Fri, 9 Apr 2021 at 20:10, Chris Hofstaedtler wrote:
> Control: found -1 2.9.15.1-2
>
> Hi,
>
> it appears this conffile handling problem is caused by a not good
> enough attempt to move the old conffile /etc/cron.daily/5snort to
> /etc/cron.daily/snort-common.
>
You are correct.
> It would appear trivial to change this to use
> dpkg-maintscript-helper mv_conffile instead.
>
Thank you for suggesting this, I was not aware of this. I have fixed the
issue by using dpkg-maintscript-helper properly in the
preinst/postinst/postrm.
> Someone with enough interest in snort should probably just make this
> change and upload it.
>
After preparing a new version of the package and testing it in a chroot
with different upgrade scenarios, I have uploaded a new version to unstable
fixing this issue (and some others I encountered along the way).
Best regards
Javier