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

Re: Correct way to move /etc config files

On Tue, Oct 21, 2008 at 11:13:18PM -0400, James Vega wrote:
> On Tue, Oct 21, 2008 at 07:32:48PM -0700, Steve Langasek wrote:
> > On Wed, Oct 22, 2008 at 01:00:34AM +0200, Luca Capello wrote:
> > > Hi there!

> > > This mail originates from the discussion at [1]: simply, I need to move
> > > an /etc file (/etc/frameworkd.conf) from one package (fso-frameworkd) to
> > > another one (fso-config-gta02).

> > > However, I don't really know the best way to manage this situation and I
> > > cannot find any reference on the Debian Developer's Reference [2] nor on
> > > the Debian Policy [3] nor the Debian wiki [4].

> > Use Replaces:, just as for other files that move between packages.

> As I understand it, you should also remove the conffile[0] from the
> original package according.

That's part of "just as for other files that move between packages", yes. :)
Replaces: is for /moving/ files between packages; if the file is supposed to
be in both packages, that needs to be a Conflicts:.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Reply to: