Re: avoid conf file overwrite message?
On Thu, Feb 21, 2008 at 09:43:29PM -0800, Steve Langasek <firstname.lastname@example.org> was heard to say:
> On Thu, Feb 21, 2008 at 06:24:37PM -0800, William Francis wrote:
> > *** apache.conf (Y/I/N/O/D/Z) [default=N] ? Y
> > Installing new version of config file /etc/twiki/apache.conf ...
> > Is there a way (short of piping in /usr/bin/yes or something similar)
> > to make that go away? Eventually I'll use something like puppet to
> > manage these files but for now this happens to be the easiest way. If
> > I do answer 'Y' it does indeed do what I want.
> Diverting conffiles is not supported. Suppressing the prompts is supported
> with a dpkg option; one of --force-confnew, --force-confold, or
> --force-confdef, depending on which default you want to use. (It's possible
> to configure dpkg options in /etc/apt/apt.conf, though I don't remember the
> incantation exactly.)
This should work, although I haven't tested it: