[Bug 1078653] Re: upgrade Ubuntu 12.04 -> 12.10 has several problems: grub-pc, apport, older linux versions

RüdiCoerdt 1078653 at bugs.launchpad.net
Thu Nov 15 11:45:43 UTC 2012


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 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
update-initramfs: Deleting /boot/initrd.img-3.2.0-29-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-29-generic /boot/vmlinuz-3.2.0-29-generic
Generating grub.cfg ...
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-3.2.0-29-generic.postrm line 328.
dpkg: error processing linux-image-3.2.0-29-generic (--remove):
 subprocess installed post-removal script returned error exit status 1

-- 
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/1078653

Title:
  upgrade Ubuntu 12.04 -> 12.10 has several problems: grub-pc, apport,
  older linux versions

Status in “ubuntu-release-upgrader” package in Ubuntu:
  New

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/install/remove any packages. apport seems to crash every time I
  try to report errors.

  grub-pc:
  /var/log/dist-upgrade/main.log:2012-11-12 13:08:10,311 DEBUG running apport_pkgfailure() grub-pc: subprocess installed post-installation script returned error exit status 1
  /var/log/dist-upgrade/main.log:2012-11-12 13:08:10,619 ERROR got an error from dpkg for pkg: 'grub-pc': 'subprocess installed post-installation script returned error exit status 1'

  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-3.2.0-31-generic (--remove):
   subprocess installed post-removal script returned error exit status 1
  Errors were encountered while processing:
   linux-image-3.2.0-29-generic
   linux-image-3.2.0-30-generic
   linux-image-3.2.0-31-generic

  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

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




More information about the foundations-bugs mailing list