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 (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: > > APT::Dpkg::Options:: "--force-blah"; > > See apt.conf(5). > > Daniel > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > -- Deepak Tripathi E3 71V3 8Y C063 (We Live By Code) http://deepkatripathi.blogspot.com