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

Re: ignoring updates to a conffile?

On Sun, Dec 28, 2003 at 11:02:23PM +0100, Andreas Barth wrote:

> * Matt Zimmerman (mdz@debian.org) [031228 22:25]:
> > I think you mean "-f" for most of those "-a". 
> I don't mean "-f", because a symlink is also ok. (But I do perhaps
> mean a "-f file -o -h file" or "-r file".)

Yes, you do, in fact, mean -f.  Try it.

> > You should not be touching anything ending in .dpkg-*.  The copy seems
> > reasonable, but the mv is unnecessary and should be omitted.  When the
> > package is upgraded from a version with the conffile to a version
> > without the conffile, the actual config file on the system remains, and
> > should be left in place.
> Ah, ok. I thought that on removing the file from the package, dpkg asks
> also to remove the file from the filesystem (and removes it so to
> file.dpkg-old). If that is not the case, I can of course omit the first if
> ... fi.

No, that is not the case.  This is trivial to test.

 - mdz

Reply to: