grub-pc fails to upgrade to 2.02~beta2-9ubuntu1.12

Bug #1613611 reported by Wuestenschiff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Tried to make a normal upgrade today but apt-get always hangs on grub-pc. I killed all the processes forced the lock open manually again and tried 'dpkg reconfigure -a' and 'sudo dpkg -i /var/cache/apt/archives/grub-pc_2.02~beta2-9ubuntu1.12_amd64.deb' and e new 'apt-get upgrade' always with the same result, that is hanging while configuring. Dmesg shows nothing special. Only hint on was is going wrong is coming if I try to reinstall the package:

sudo apt-get install --reinstall grub-pc
[sudo] password for <user>:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for grub-pc:amd64

Addiotionall thing you like:
lsb_release -rd
Description: Ubuntu 14.04.5 LTS
Release: 14.04

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: grub-pc 2.02~beta2-9ubuntu1.12
ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8
Uname: Linux 3.13.0-39-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
Date: Tue Aug 16 10:33:25 2016
InstallationDate: Installed on 2014-09-01 (715 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Wuestenschiff (wuestenschiff) wrote :
Revision history for this message
Wuestenschiff (wuestenschiff) wrote :

After 2 hours of lost time I found the courage to do the following which seem to have solved the issue:

sudo grub-install /dev/sda
sudo reboot

After that the update and upgrade ran without problems

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.