[Bug 1274521] Re: package linux-image-3.8.0-35-generic 3.8.0-35.50~precise1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Karim Hosein
khosein at Magicleap.com
Thu Jan 30 14:47:23 UTC 2014
OKay. Booted up on the 3.8 kernel (with BURG).
Everything seems fine.
I guess we can close this ticket but we probably need to let burg users know that even if they are not using GrUB, it still needs to be installed for this issue to resolve and the maintainers of whatever was causing this needs to know that not all users have GrUB installed.
OTHER CONSIDERATIONS:
Is LILO an issue with this? Does anyone still use LILO? What other
bootloaders will cause an issue if GrUB is not also installed? After
doing kernel upgrades and they run updates on GrUB, do we still have to
run update-burg or whatever bootloader we use? (I did not know if I had
to but I did to make sure).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/1274521
Title:
package linux-image-3.8.0-35-generic 3.8.0-35.50~precise1 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 2
Status in “grub” package in Ubuntu:
Invalid
Bug description:
always occurs on upgrade with 12.04 whether on the 3.5 or 3.8 kernel
Unpacking linux-headers-generic-lts-raring (from .../linux-headers-generic-lts-raring_3.8.0.35.35_amd64.deb) ...
Setting up linux-image-3.5.0-45-generic (3.5.0-45.68~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
update-initramfs: Generating /boot/initrd.img-3.5.0-45-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.5.0-45-generic /boot/vmlinuz-3.5.0-45-generic
Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: line 5: $'\r': command not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.5.0-45-generic.postinst line 1010.
dpkg: error processing linux-image-3.5.0-45-generic (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.8.0-35-generic (3.8.0-35.50~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-35-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.8.0-35-generic /boot/vmlinuz-3.8.0-35-generic
Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: line 5: $'\r': command not found
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 127
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.8.0-35-generic.postinst line 1010.
dpkg: error processing linux-image-3.8.0-35-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic-lts-quantal:
linux-image-generic-lts-quantal depends on linux-image-3.5.0-45-generic; however:
Package linux-image-3.5.0-45-generic is not configured yet.
dpkg: error processing linux-image-generic-lts-quantal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic-lts-quantal:
linux-generic-lts-quantal depends on linux-image-generic-lts-quantal; however:
Package linux-image-generic-lts-quantal is not configured yet.
dpkg: error processing linux-generic-lts-quantal (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic-lts-raring:
linux-image-generic-lts-raring depends on linux-image-3.8.0-35-generic; however:
Package linux-image-3.8.0-35-generic is not configured yet.
dpkg: error processing linux-image-generic-lts-raring (--configure):
dependency problems - leaving unconfiguNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
red
Setting up linux-headers-generic-lts-raring (3.8.0.35.35) ...
Errors were encountered while processing:
linux-image-3.5.0-45-generic
linux-image-3.8.0-35-generic
linux-image-generic-lts-quantal
linux-generic-lts-quantal
linux-image-generic-lts-raring
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: linux-image-3.8.0-35-generic 3.8.0-35.50~precise1
ProcVersionSignature: Ubuntu 3.5.0-23.35~precise1-generic 3.5.7.2
Uname: Linux 3.5.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Thu Jan 30 09:20:45 2014
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MarkForUpload: True
SourcePackage: grub
Title: package linux-image-3.8.0-35-generic 3.8.0-35.50~precise1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/1274521/+subscriptions
More information about the foundations-bugs
mailing list