The krb5-user package install on Ubuntu requires the installer to interact with a text UI screen that comes up asking about Kerberos. I'm trying to automate installation and this is one of the points thats forcing interaction.

enter image description here

No input is needed for my purposes.

Can a magic shell command somehow press OK in this text UI for me?

  • -1 with no comment. What can I do to improve this question?
    – bluesquare
    Jan 4, 2021 at 16:43

1 Answer 1


I'm using following apt-get with following options in scripts to tell both apt and dpkg to not ask for confirmation and other options, it should work here too:

DEBIAN_FRONTEND=noninteractive apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install <package>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.