GRUB_PREFIX not set after dist-upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Dear team,
I need some help, as I'm lost finding relevant reports & help suggestions in launchpad. My Monday's (Nov 12, 2012) upgrade attempt finished, although with errors. I can use my system, but I cannot update/
grub-pc:
/var/log/
/var/log/
apport: unpack requires a byte object of length 4, no error report sent.
Software updater: Software index is broken: It is impossible to install or remove any software.
linux versions: e.g.
dpkg: error processing linux-image-
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
linux-
linux-
linux-
The last one stops me from doing anything to correct the errors by installing other/newer/better versions.
What do you need to identify the errors?
lsb_release -rd
Description: Ubuntu 12.10
Release: 12.10
---
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
DistroRelease: Ubuntu 12.10
InstallationDate: Installed on 2011-12-02 (481 days ago)
InstallationMedia: Lubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
Package: ubuntu-
ProcVersionSign
Tags: quantal dist-upgrade
Uname: Linux 3.5.0-27-generic x86_64
UpgradeStatus: Upgraded to quantal on 2012-11-12 (135 days ago)
UserGroups:
VarLogDistupgra
tags: | added: dist-upgrade precise precise2quantal |
summary: |
- upgrade Ubuntu 12.04 -> 12.10 has several problems: grub-pc, apport, - older linux versions + GRUB_PREFIX not set after dist-upgrade |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Incomplete → New |
status: | New → Confirmed |
Looks like the problems removing older linux versions come from grub-pc errors; extract from /var/log/ dist-upgrade/ apt-term. log:
Removing linux-image- 3.2.0-29- generic ... postrm. d . postrm. d/initramfs- tools 3.2.0-29-generic /boot/vmlinuz- 3.2.0-29- generic img-3.2. 0-29-generic postrm. d/zz-update- grub 3.2.0-29-generic /boot/vmlinuz- 3.2.0-29- generic postrm. d/zz-update- grub exited with return code 1 postrm. d at /var/lib/ dpkg/info/ linux-image- 3.2.0-29- generic. postrm line 328. 3.2.0-29- generic (--remove):
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-removal script returned error exit status 1