[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



also sprach Alan Ezust <alan.ezust@gmail.com> [2007.07.06.0017 +0200]:
> 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.

Try adding

  DPkg::options {"--force-confnew";};

to /etc/apt/apt.conf.d/local-dpkg_force-confnew

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.   martin f. krafft <madduck@debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
perl -e 'print "The earth is a disk!\n" if ( "a" == "b" );'
                                                   (dedicated to nori)

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: