Robie: We had one of our automated builds start failing due to this. We
were using only -y and DEBIAN_FRONTEND=noninteractive (wrongly thinking
that was enough).

I've now changed to

sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options
::="--force-confold" -y install $(cat requirements-ubuntu.txt)

and with DEBCONF_NONINTERACTIVE_SEEN=true,
DEBIAN_FRONTEND=noninteractive and UCF_FORCE_CONFOLD=1 in the
environment. But the prompt when configuring libssl1.1 still shows up,
so the job hangs :(

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1833013

Title:
  Interactive prompt during non-interactive install

Status in ansible package in Ubuntu:
  Incomplete
Status in openssl package in Ubuntu:
  Invalid

Bug description:
  `apt-get install -y -qq ansible` runs `whiptail --backtitle Package
  configuration --title Configuring libssl1.1:amd64 --output-fd 11
  --defaultno --yesno -- There are services installed on your system
  which need to be restarted  when certain libraries, such as libpam,
  libc, and libssl, are upgraded.  Since these restarts may cause
  interruptions of service for the system,  you will normally be
  prompted on each upgrade for the list of services  you wish to
  restart.  You can choose this option to avoid being  prompted;
  instead, all necessary restarts will be done for you  automatically so
  you can avoid being asked questions on each library  upgrade.  Restart
  services during package upgrades without asking? 16 77`, causing a
  non-interactive installation to be impossible.

  Also reported to the Ansible Local Vagrant provisioner because they
  will probably have to work around this in the short term:
  https://github.com/hashicorp/vagrant/issues/10914

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to