Re: avoid conf file overwrite message?

2008-02-22 Thread Daniel Burrows
On Thu, Feb 21, 2008 at 09:43:29PM -0800, Steve Langasek [EMAIL PROTECTED] 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

Re: avoid conf file overwrite message?

2008-02-22 Thread Deepak Tripathi
Yes Both option does work. Thanks On Fri, Feb 22, 2008 at 9:02 PM, Daniel Burrows [EMAIL PROTECTED] wrote: On Thu, Feb 21, 2008 at 09:43:29PM -0800, Steve Langasek [EMAIL PROTECTED] was heard to say: On Thu, Feb 21, 2008 at 06:24:37PM -0800, William Francis wrote: *** apache.conf

avoid conf file overwrite message?

2008-02-21 Thread William Francis
I have a package that I made which does a dpkg-divert in the 'preinst' on a couple of config files and then installs replacements from them. However, even though the dpkg-divert has run (and I've verified it does move it to the name I specify), I still get a message that looks like this: (this

Re: avoid conf file overwrite message?

2008-02-21 Thread Kumar Appaiah
On Thu, Feb 21, 2008 at 06:24:37PM -0800, William Francis wrote: 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

Re: avoid conf file overwrite message?

2008-02-21 Thread Kumar Appaiah
On Fri, Feb 22, 2008 at 08:52:24AM +0530, Kumar Appaiah wrote: On Thu, Feb 21, 2008 at 06:24:37PM -0800, William Francis wrote: 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

Re: avoid conf file overwrite message?

2008-02-21 Thread Deepak Tripathi
Hi You can use apt-get -y --force-yes apache2 Thanks Deepak Tripathi On Fri, Feb 22, 2008 at 9:01 AM, Kumar Appaiah [EMAIL PROTECTED] wrote: On Fri, Feb 22, 2008 at 08:52:24AM +0530, Kumar Appaiah wrote: On Thu, Feb 21, 2008 at 06:24:37PM -0800, William Francis wrote: Is there a way

Re: avoid conf file overwrite message?

2008-02-21 Thread Steve Langasek
On Thu, Feb 21, 2008 at 06:24:37PM -0800, William Francis wrote: I have a package that I made which does a dpkg-divert in the 'preinst' on a couple of config files and then installs replacements from them. However, even though the dpkg-divert has run (and I've verified it does move it to the