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

Re: apt-get -y upgrade for non-interactive sessions - and replacing conf files in /etc



On Thu, Jul 05, 2007 at 03:17:12PM -0700, Alan Ezust <alan.ezust@gmail.com> was heard to say:
> On 7/5/07, Steve Greenland <steveg@moregruel.net> wrote:
>> Alan, you know that it should only be prompting you on conffiles you 
>> actually
>> modified? Do you really want those overwritten?
>
> Yes, I see it is indeed only prompting me for conffiles that I
> manually modified. In my particular situation, and I realize this is
> unusual/dangerous, I still would like to to clobber my handmade
> changes with newer versions from a .deb file. Setting those two
> environment variables did not change the behavior of dpkg in this
> particular case.

  If you really want to do this, I think you need to pass --force-confnew
to dpkg.  You can arrange this either in /etc/dpkg/dpkg.cfg or in
/etc/apt/apt.conf.

  Daniel



Reply to: