FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian dpkg

LinkBack Thread Tools
Old 07-13-2012, 06:50 PM
Josh Triplett
Default Bug#595112: /usr/bin/dpkg-maintscript-helper: Please provide helper for moving a conffile between packages

On Fri, Jul 13, 2012 at 05:26:28PM +0200, Raphael Hertzog wrote:
> retitle 595112 dpkg-maintscript-helper: new helper for moving a conffile between packages
> thanks
> On Tue, 31 Aug 2010, Josh Triplett wrote:
> > Moving a conffile from one package to another seems to prove even more
> > difficult than renaming it or removing it. Please consider providing
> > support for this case in dpkg-maintscript-helper.
> What kind of problems are you referring to?
> Michael Biebl reported in the thread at
> http://lists.debian.org/4F31C323.9090606@debian.org
> that the difficulty was to handle the case where the target
> package has no guaranty to be installed. In that case, we
> might keep the old conffile around when we don't really
> want.
> In http://lists.debian.org/20120209095814.GA3452@rivendell.home.ouaza.com
> I suggested to create a rm_conffile_if_owner helper
> function to deal with this case.
> Would this fit your needs too?

I *think* that would work. I don't need support for moving conffiles
between arbitrary packages, just support for allowing package2 to take
over a conffile from package1, and allowing package1 to drop the
conffile if not installing package2. How would rm_conffile_if_owner
behave with a modified conffile? Would it keep the conffile around in a
way that allows the new package to take it over with the old contents
still intact? And, would this also ensure that the conffile (even if
modified) gets removed when purging package1, if not yet taken over by

- Josh Triplett

To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120713184627.GA11036@jtriplet-linux

Thread Tools

All times are GMT. The time now is 11:56 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org