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

Re: Seeking aptitude flag to 'do not over write configuration file'



On Fri, Apr 20, 2012 at 04:38:50PM +0200, Brent Clark wrote:
> On 20/04/2012 14:09, Bjørn Michelsen wrote:
> >On Fri, Apr 20, 2012 at 10:11:04AM +0200, Brent Clark wrote:

Hey there,

(...)

> >>Configuration file `/etc/apache2/sites-available/default'
> >>  ==>  Modified (by you or by a script) since installation.
> >>  ==>  Package distributor has shipped an updated version.
> >>    What would you like to do about it ?  Your options are:
> >>     Y or I  : install the package maintainer's version
> >>     N or O  : keep your currently-installed version
> >>       D     : show the differences between the versions
> >>       Z     : start a shell to examine the situation
> >>  The default action is to keep your current version.
> >>*** default (Y/I/N/O/D/Z) [default=N] ?
> >>
> >>Is there a flag to skip this section and accept no as the default? I.e. Do not over write the configuration.
> >
> >The following should do the trick
> >
> >   apt-get -o Dpkg::Options::="--force-confold" upgrade

(...)

> Thank you so much

You're welcome, and I'm glad it worked!

-- 
Sincerely,
Bjorn Michelsen


Reply to: