package grub-pc 1.99-21ubuntu3.1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
My computer is running Precise downloaded from image on DVD. . It was ok for afew months but now it keeps keeps crashing. It also maxes out apport error reporting . I have turned off the native RAID in my Dell's BIOS to simplify matters but if any thing it seems to have made things worse. I've reinstalled several times but the problems are unresolved.
Still on linux generic kernel 3.20.23. Been trying to insatall linux-image 3.20.0.27, 3.20.29, 3.20.30 using dowload manager, Synaptic and boot up recovery mode. They have unmet dependencies which cannot be resolved.
The package grub-pc 1.99-21 ubuntu 3.1 failed to install upgrade etc. in the summary is but one of many errors. Error messages include:
"The following packages have unmet dependencies: linux-image-generic (=3.20.30.32) but 3.20.29 is - installed";
"error processing linux-image-generic (--configure): dependency problems - leaving unconfigured";
" errors were encountered while processing linux-image 3.2.0 - 27, 29, 30";
"upgrade: linux-generic linux-image-
"sub-process /usr/bin/dpkg returned error code (1.)";
Error code 127 also flashed past on many occasions.
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: grub-pc
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Wed Aug 22 17:37:39 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=
SourcePackage: grub2
Title: package grub-pc 1.99-21ubuntu3.1 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
From VarLogDistupgra deApttermlog. gz:
Examining /etc/kernel/ postinst. d. postinst. d/dkms 3.2.0-30-generic /boot/vmlinuz- 3.2.0-30- generic postinst. d/initramfs- tools 3.2.0-30-generic /boot/vmlinuz- 3.2.0-30- generic img-3.2. 0-30-generic postinst. d/pm-utils 3.2.0-30-generic /boot/vmlinuz- 3.2.0-30- generic postinst. d/update- notifier 3.2.0-30-generic /boot/vmlinuz- 3.2.0-30- generic postinst. d/zz-update- grub 3.2.0-30-generic /boot/vmlinuz- 3.2.0-30- generic grub-mkconfig: 13: /etc/default/grub: GRUB_SAVEDEFAUL T+true: not found postinst. d/zz-update- grub exited with return code 127 postinst. d at /var/lib/ dpkg/info/ linux-image- 3.2.0-30- generic. postinst line 1010. 3.2.0-30- generic (--configure):
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
/usr/sbin/
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2