grub-pc failed during upgrade from 10.04 to 10.10 [kubuntu]

Bug #654651 reported by Adam on 2010-10-04
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: grub-pc

tried to copy the output text, but it got auto overwritten when i highlighted it.

looked like it threw an error about hooks.

Colin Watson (cjwatson) wrote :

I'm afraid I'm going to need more than that to work with. Can you find the exact error message anywhere under /var/log?

Changed in grub2 (Ubuntu):
status: New → Incomplete
Adam (armware) wrote :

I am still poking around, I posted this in hopes of some direction on where to look, so thank you.

/var/log/dist-upgrade/term.log:
Installing new version of config file /etc/grub.d/05_debian_theme ...
Removing update-grub hooks from /etc/kernel-img.conf in favour of
/etc/kernel/ hooks.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 30

I've begun to think it was an issue with having startupmanager installed. It has grub as a dependency.

Colin Watson (cjwatson) wrote :

I don't think it's related to startupmanager.

Were you presented with any dialogs that had anything to do with GRUB? If so, how did you respond to them?

What tool did you use to perform the upgrade?

Adam (armware) wrote :

I'm almost certain I have resolved this issue by using the following commands:

sudo update-grub-from-legacy

sudo aptitude install grub-pc
sudo apt-get update
sudo apt-get dist-upgrade

Now everything seems happy. I won't know for sure until I reboot.

Before I reboot, though I'd like to answer your questions in case they may still be of some help.
I followed the instructions posted here: https://help.ubuntu.com/community/MaverickUpgrades/Kubuntu
opting to install over the internet.

Any dialogs that offer to keep my config or install the package maintainers version, I choose the latter after making a backup of my custom config file.
I don't recall anything grub specific, though.

Adam (armware) wrote :

Two reboots (to be sure, you know how things go) and things are great.

I think it just choked on something from my grub situation. I recall manually upgrading to grub2 just before it was official (I got impatient). I had no problems getting it running (ok, there may have been issues, but I didn't have to do a fresh install), I then upgraded from 9.10 to 10.04, I don't remember any issues with that.

Please ask if you would like anything more from me as far as details or logs, I will hold onto a copy of those for a little while.

Thank You, Colin.

Jean-Baptiste Lallement (jibel) wrote :

right, that's the root cause, I'm marking this report as duplicate.

Changed in grub2 (Ubuntu):
status: Incomplete → Confirmed
Jean-Baptiste Lallement (jibel) wrote :

wrong bug the comment was for 654705

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

Duplicates of this bug

Other bug subscribers

Bug attachments