Software Updater freezes when trying to upgrade grub-pc package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu version: 14.04.2
When running Software Updater (update-manager) to update the packages, it freezes when trying to update grub-pc package.
I think this is related to the fact that grub-pc detected a modification of a configuration file and needs to ask the user for confirmation on the action to take. However, the package required to display this (libgtk2-perl) is not installed by default.
Steps to reproduce the problem:
1 - install a fresh stock version of Ubuntu 14.04.2 on your device
2 - modify the file /etd/default/grub (for instance, comment the line "GRUB_HIDDEN_
3 - Restart the computer and start "Software Updater"
Updates are being downloaded and installed. However when reaching grub-pc configuration, the window turns black and white and it has to be killed. (see attached screenshot update-
In order to fix the problem, before running the Software Updater, you need to install package `libgtk2-perl`. In that case, a new window will be displayed to ask what to do with the modified configuration file (see screenshot grub-gui-
Note that this problem does not happen when running the update through a terminal (sudo apt-get update && sudo apt-get dist-upgrade) because the grub modification confirmation is then displayed using ncurse.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 3.16.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: Unity
Date: Thu May 21 15:09:54 2015
InstallationDate: Installed on 2015-05-21 (0 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitec
SourcePackage: ubuntu-
Symptom: dist-upgrade
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Confirmed |
I just experienced this bug today after using workaround described in /bugs.launchpad .net/ubuntu/ +source/ linux/+ bug/1500751/ comments/ 5
https:/
on my xps13 2015 laptop
firefox-trunk upgraded fine via the graphical Ubuntu Software Update
After that the updater dimmed down pretty dark and I can barely see it displaying
Configuring grub-efi-amd64
I have this change in place:
adrian@ adrian- xps-13- 9343:/etc/ default$ diff grub grub.ucf-dist /bugs.launchpad .net/ubuntu/ +source/ cryptsetup/ +bug/1500751/ comments/ 5 LINUX_DEFAULT= "quiet splash" adrian- xps-13- 9343:/etc/ default$
11d10
< # https:/
13d11
< # GRUB_CMDLINE_
adrian@