retitle 611913 apt-listbugs: leaves problematic apt configuration fragment if 
in config-files status and unpack fails
thanks


On Sat, 05 Feb 2011 12:46:40 +0100 Sven Joachim wrote:

> On 2011-02-04 19:31 +0100, Francesco Poli wrote:
> 
> > On Thu, 03 Feb 2011 21:30:26 +0100 Sven Joachim wrote:
> >
> >> or maybe your patch should be applied, since renaming
> >> conffiles in maintainer scripts looks rather fragile to me.
> >
> > This could be a more robust solution, but I have to understand how the
> > transition from the old strategy to the new one can be managed (since
> > someone could have an old version in the "Config-Files" state and
> > install a new version, someone else could try to downgrade, and so
> > forth...).
> 
> You have to keep the preinst script, possibly limiting its actions to
> the case where "$2" is non-null.  I think this should also be
> sufficient, and you can drop the postrm handling.

Thanks for your useful suggestions, Sven.

For the time being, I'll probably add the abort-install handling code
to the postrm script, since I want to avoid major changes (there are
already too many changes pending for the next upload).

I may of course come back to this later on, with a longer term
solution...


-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE

Attachment: pgpViKAABRCUv.pgp
Description: PGP signature

Reply via email to