"Restart services during package upgrades without asking?" fails to honor --yes for apt-get
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I left an old netbook to do an "apt-get -y dist-upgrade" overnight, and when I returned to it the next morning, the upgrades were unfinished because libc upgrade was waiting for me to respond to "Restart services during package upgrades without asking?"
It looks like the question is prioritized depending on whether the upgrade is done on desktop or not, and if it's not, the priority is set critical. According to documentation [1], critical is for "Items that will probably break the system without user intervention." I don't think restart-
* [1] http://
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: libc6 2.15-0ubuntu2
ProcVersionSign
Uname: Linux 3.2.0-17-
ApportVersion: 1.91-0ubuntu1
Architecture: i386
Date: Sat Feb 18 21:07:37 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=fi_FI.UTF-8
SHELL=/bin/bash
SourcePackage: eglibc
UpgradeStatus: Upgraded to precise on 2012-02-17 (1 days ago)
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 FRONTEND= noninteractive in the shell environment.
DEBIAN_