Installing packages without hang

C de-Avillez hggdh2 at ubuntu.com
Fri Aug 5 16:22:10 UTC 2016


On Fri, 5 Aug 2016 17:58:43 +0200
Ralf Mardorf <silver.bullet at zoho.com> wrote:

> On Fri, 5 Aug 2016 10:42:19 -0500, C de-Avillez wrote:
> >> On Mon, Aug 01, 2016 at 11:56:26AM +0200, Josef Wolf wrote:    
> >> >   $ DEBIAN_FRONTEND=noninteractive \
> >> >        /usr/bin/apt-get --yes -q \
> >> >        -o Dpkg::Option::="--force-confdef" \
> >> >        -o Dpkg::Option::="--force-confold" \   
> >
> >The file /etc/bluetooth.main.conf had a change outside the package
> >defaults. You have to decide what to do, since the installer tries
> >not to clobber local changes to configuration files.
> >
> >I usually go look at the diff or, if it is a complex change, I
> >select N (to keep my version of the configuration), and then I go
> >look at it again (and make any changes I deem necessary), after the
> >update ends.  
> 
> And why doesn't it work non-interactively?
> 
> "confdef: If a conffile has been modified and the version in the
>           package did change, always choose the default action
>           without prompting. If there is no default action it will
> stop to ask the user unless  --force-confnew  or  --force-confold
>           is also been given, in which case it will use that to
>           decide the final action." -
> http://manpages.ubuntu.com/manpages/wily/man1/dpkg.1.html

Oh, sorry, I did not mean it would not work. I just would never do it
automated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160805/eefc736d/attachment.sig>


More information about the ubuntu-users mailing list