[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#574443: debhelper: New helper proposal: dh_oldconffiles (or similar name)



On Tue, Apr 06, 2010 at 02:53:20PM +0200, Raphael Hertzog wrote:
> (Jean-Christophe, you could have kept Joey in the CC in your reply)

Sorry. Will do.
> Hi,
> 
> On Thu, 01 Apr 2010, Jean-Christophe Dubacq wrote:
> > > The patch still seems good. From the history of
> > > http://wiki.debian.org/DpkgConffileHandling , I see only one bugfix has
> > > been made to that page since, that should be folded into the patch. It is
> > > described here: http://lists.debian.org/debian-devel/2008/03/msg00795.html
> > 
> > There is also the fact that the code on this page does not deal with the
> > abort-upgrade condition. Code doing that (for moving conffile)
> > should also test for abort-upgrade in prerm and put back in place the
> > conffile;
> 
> Is that really worth taking care of? Worst case, the old conffile is freshly
> reinstalled and the user changes are lost... but downgrades are not
> officially supported by Debian anyway.

I am not talking about downgrades, but failing upgrades (such as the one you
get when you can not unpack the package correctly).

> Jean-Christophe, are you volunteering to add the support of downgrade in
> the dpkg-conffile tool proposed by Joey?

Not downgrade, but failed upgrade, yes. I will modify the wiki for now, and
try to catch up on dpkg source.

(several minutes later): I did add the snippets for removing conffiles.


Reply to: