Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu builds get stuck on task [repository : Create epirepo repository] waiting for user input #966

Closed
przemyslavic opened this issue Mar 4, 2020 · 2 comments · Fixed by #967
Assignees
Labels

Comments

@przemyslavic
Copy link
Collaborator

przemyslavic commented Mar 4, 2020

Outout from ps fauxwww:

\_ /bin/bash -c set -o pipefail && /tmp/epi-repository-setup-scripts/create-repository.sh /var/www/html/epirepo false |& tee /tmp/epi-repository-setup-scripts/create-repository.log
    \_ /bin/bash -eu /tmp/epi-repository-setup-scripts/create-repository.sh /var/www/html/epirepo false
    |   \_ apt -y install apache2 dpkg-dev
    |       \_ /usr/bin/dpkg --status-fd 40 --configure --pending
    |           \_ /usr/bin/perl -w /usr/share/debconf/frontend /var/lib/dpkg/info/libssl1.1:amd64.postinst configure 1.1.0g-2ubuntu4.3
    |               \_ /bin/sh /var/lib/dpkg/info/libssl1.1:amd64.postinst configure 1.1.0g-2ubuntu4.3
    |               \_ 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
    \_ tee /tmp/epi-repository-setup-scripts/create-repository.log
@to-bar
Copy link
Contributor

to-bar commented Mar 4, 2020

apt-get install -y -qq ansible
This does not guarantee a non-interactive run. If you want a non-interactive run, you must use all the necessary parameters. For example:
UCF_FORCE_CONFOLD=1 DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -qq -y install ansible

Ref: https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1833013

seriva added a commit that referenced this issue Mar 5, 2020
#966 - Ubuntu builds get stuck on 'Create epirepo repository' task waiting for user input
#965 - Install Kibana on all logging vms
@to-bar
Copy link
Contributor

to-bar commented Mar 19, 2020

Same issue found in offline mode, fixed by #1038

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants