I found a fix that works for me: `export DEBIAN_FRONTEND=noninteractive` I execute that just prior to any debconf steps. E.g. I use this on my headless systems around my home:
export DEBIAN_FRONTEND=noninteractive apt-get -y update apt-get -y dist-upgrade apt-get -y autoclean apt-get -y autoremove -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/551637 Title: debconf seems to require a controlling TTY even when no interaction is required To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debconf/+bug/551637/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
