On Thu, Aug 9, 2012 at 4:25 PM, Lior Kaplan <kap...@debian.org> wrote:
> Thanks, I've been doing some test of my own, and the problem is that the > mv_conffile shouldn't be present in the prerm but in the preinst. This > doesn't create any problems when the file is there, but fail when the file > isn't present. > That's postrm instead of prerm (taken from the dpkg-maintscript-helper manpage), but the problem isn't solved due to another issue on the php5{dis,en}mod command when the conffile isn't present. Any way, it seems that creating the file manually (e.g. with touch) will let you later remove the package (although I would also purge it). Kaplan