Hi David,

On 2012-03-06 14:45, David Bremner wrote:
> Thanks for spotting this. For the record, the underlying problem is the
> postrm of highlight_2.16-1, which removes conffiles 1) during remove and
> purge, and 2) removes files actually belonging to highlight-common.

Is there a chance to get this fixed in stable?
The changes are minimal:

mv debian/postrm debian/highlight-common.postrm
sed -i s/purge\|remove/purge/ debian/highlight-common.postrm

> I'm still investigating how to fix this,

For wheezy:
If I understand
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-unpackphase
correctly, your only chance to "restore" the lost file would be
  <new-preinst> install <old-version>
and you would have to ship a copy of that config file in the
highlight-common.preinst script. Thereafter dpkg should not complain
about the conffile any more.


Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to