Installing packages without hang

Josef Wolf jw at raven.inka.de
Fri Aug 5 11:48:25 UTC 2016


On Mon, Aug 01, 2016 at 11:56:26AM +0200, Josef Wolf wrote:
> Hello,
> 
> I am trying to do unattended installs of packages (sripted).
> 
> So I go like this:
> 
>   $ DEBIAN_FRONTEND=noninteractive \
>        /usr/bin/apt-get --yes -q \
>        -o Dpkg::Option::="--force-confdef" \
>        -o Dpkg::Option::="--force-confold" \
>        install \
>        hundreds of packages specified here
> 
> But dpkg still hangs with:
> 
>   Setting up bluez (5.37-0ubuntu5) ...
>   
>   Configuration file '/etc/bluetooth/main.conf'
>    ==> File on system created by you or by a script.
>    ==> File also in package provided by package maintainer.
>      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.
>   *** main.conf (Y/I/N/O/D/Z) [default=N] ? 
> 
> Any suggestions?

Any hints on this?

-- 
Josef Wolf
jw at raven.inka.de




More information about the ubuntu-users mailing list