[Bug 1457353] Re: Software Updater freezes when trying to upgrade grub-pc package

Marc Hunter hunter1728 at gmail.com
Tue Mar 1 06:42:51 UTC 2016


I am running it inside a virtualbox vm - and it always killed my VM.  I then ran it from terminal as per this link:
http://askubuntu.com/questions/196768/how-to-install-updates-via-command-line

and it comes up with this msg, which is what I presume is freezing it:

Package configuration                                                           
                                                                                
 ┌──────────────────────────┤ Configuring grub-pc ├──────────────────────────┐  
 │                                                                           │  
 │ The GRUB boot loader was previously installed to a disk that is no        │  
 │ longer present, or whose unique identifier has changed for some reason.   │  
 │ It is important to make sure that the installed GRUB core image stays in  │  
 │ sync with GRUB modules and grub.cfg. Please check again to make sure      │  
 │ that GRUB is written to the appropriate boot devices.                     │  
 │                                                                           │  
 │ If you're unsure which drive is designated as boot drive by your BIOS,    │  
 │ it is often a good idea to install GRUB to all of them.                   │  
 │                                                                           │  
 │ Note: it is possible to install GRUB to partition boot records as well,   │  
 │ and some appropriate partitions are offered here. However, this forces    │  
 │ GRUB to use the blocklist mechanism, which makes it less reliable, and    │  
 │ therefore is not recommended.       

and then

┌───────────┤ Configuring grub-pc ├───────────┐                 
                │ GRUB install devices:                       │                 
                │                                             │                 
                │    [ ] /dev/sda (35279 MB; VBOX_HARDDISK)   │                 
                │    [ ] - /dev/sda1 (33130 MB; /)            │                 
                │                                             │                 
                │                                             │                 
                │                   <Ok>                      │                 
                │                                             │                 
                └─────────────────────────────────────────────┘

In case that helps

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1457353

Title:
  Software Updater freezes when trying to upgrade grub-pc package

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

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_TIMEOUT=0" or simply add a comment at the end of the file), then save and run `sudo update-grub2`
  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-manager-freeze.png)

  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-choice.png).

  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-release-upgrader-core 1:0.220.7
  ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
  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)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1457353/+subscriptions



More information about the foundations-bugs mailing list