[Bug 92265] Re: DEBIAN_FRONTEND=noninteractive is ignored

Colin Dean cad at cad.cx
Sun Jul 7 18:28:11 UTC 2013


I figured it out. I was using sudo and the sudo was after the envvar
set, so it wasn't carried into the command.

sudo DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::='--force-
confdef' -o Dpkg::Options::='--force-confold'  -f -q -y install mysql-
server

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/92265

Title:
  DEBIAN_FRONTEND=noninteractive is ignored

Status in “dpkg” package in Ubuntu:
  Expired

Bug description:
  Hi!

  At least with postfix-policyd, when i do a noninteractive install, it
  ignores it and asks question anyways:

  ~# DEBIAN_FRONTEND=noninteractive apt-get install postfix-policyd
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  postfix-policyd is already the newest version.
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 0B of archives.
  After unpacking 0B of additional disk space will be used.
  Setting up postfix-policyd (1.80-2.1) ...
  dbconfig-common: writing config to /etc/dbconfig-common/postfix-policyd.conf
  Configuration file `/etc/postfix-policyd.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
        S     : show the side-by-side differences between the versions
        Z     : start a new shell to examine the situation
   The default action is to keep your current version.
  ***  postfix-policyd.conf  (Y/I/N/O/D/Z) [default=N] ?

  I'm not sure whether this is just something that's configured wrong in
  the postfix-policyd deb, or a general apt bug..

  Thanks a lot!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/92265/+subscriptions




More information about the foundations-bugs mailing list