[10.04 64bit] Automate upgrade of openssh-server
hilco.wijbenga at gmail.com
Mon Apr 18 01:58:26 UTC 2011
On 17 April 2011 18:38, Scott Moser <smoser at ubuntu.com> 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"
> 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. :-)
More information about the ubuntu-server