I ran into a similar problem today when doing a headless install on EC2 using cloud-init. The solution to the problem was to set DEBIAN_FRONTEND=noninteractive in the shell environment.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/935681 Title: "Restart services during package upgrades without asking?" fails to honor --yes for apt-get To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/935681/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs