On 17 April 2011 18:38, Scott Moser <[email protected]> wrote:
> On Sun, 17 Apr 2011, Hilco Wijbenga wrote:
>> Setting up openssh-server (1:5.3p1-3ubuntu6) ...
>>
>> Configuration file `/etc/init/ssh.conf'
>>  ==> 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     : background this process to examine the situation
>>  The default action is to keep your current version.
>> *** ssh.conf (Y/I/N/O/D/Z) [default=N] ?
>
> It depends on what you want (to keep the old config file or accept the
> new), but you can do:
>
> apt-get -o Dpkg::Options::="--force-confnew"
> or
> apt-get -o Dpkg::Options::="--force-confold"
>
> To force dpkg to install one or the other.
>
> Probably invoke like this:
>
> DEBIAN_FRONTEND=noninteractive apt-get \
>   --option Dpkg::Options::=--force-confold --assume-yes upgrade

Thank you! This had me stumped for hours. Now that I know it's all
pretty obvious, of course. :-)

-- 
ubuntu-server mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
More info: https://wiki.ubuntu.com/ServerTeam

Reply via email to