Installing packages without hang

Josef Wolf jw at raven.inka.de
Mon Aug 1 09:56:26 UTC 2016


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?

-- 
Josef Wolf
jw at raven.inka.de




More information about the ubuntu-users mailing list