package memtest86+ 4.20-1.1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1032588 reported by manik garg
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

keep getting this error while installing updates

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: memtest86+ 4.20-1.1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-21.35-generic 3.0.32
Uname: Linux 3.0.0-21-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.0.1-0ubuntu11
Architecture: i386
Date: Fri Aug 3 16:34:35 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-21-generic root=UUID=6892774c-758e-4a8e-b928-23b82f2e099d ro quiet splash vt.handoff=7
SourcePackage: grub2
Title: package memtest86+ 4.20-1.1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
manik garg (maneik-deactivatedaccount) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Alessandro Menti (elgaton) wrote :

Could you please issue the following commands:
sudo apt-get update
sudo apt-get install grub
sudo dpkg-reconfigure grub
and tell me if the updates work afterwards? Seems some files related to the GRUB configuration got corrupt.

Changed in grub2 (Ubuntu):
status: New → Incomplete
Revision history for this message
manik garg (maneik-deactivatedaccount) wrote :
Download full text (4.6 KiB)

THIS IS THE RESULT :

manik@manik-Vostro1510:~$ sudo apt-get install grub
Reading package lists... Done
Building dependency tree
Reading state information... Done
grub is already the newest version.
The following packages were automatically installed and are no longer required:
  libunity6 libindicator6 libx264-116 wine1.3 unity-2d-launcher
  kdebase-runtime libglew1.5 libgtkspell3-0 libglewmx1.5 libminiupnpc5
  libnux-1.0-0 libnux-1.0-common librhythmbox-core4 zeitgeist-extension-fts
  libiso9660-7 grub-pc-bin libnl3 libattica0 icc-profiles-free libapt-inst1.3
  libindicator3-6 libgtkglext1 libnatpmp1 libmatroska4 unity-2d-places
  libllvm2.9 libsmpeg0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-image-3.2.0-26-generic (3.2.0-26.41) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-26-generic /boot/vmlinuz-3.2.0-26-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-26-generic /boot/vmlinuz-3.2.0-26-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-26-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-26-generic /boot/vmlinuz-3.2.0-26-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-26-generic /boot/vmlinuz-3.2.0-26-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-26-generic /boot/vmlinuz-3.2.0-26-generic
Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: line 24: unexpected EOF while looking for matching ``'
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-26-generic.postinst line 1010.
dpkg: error processing linux-image-3.2.0-26-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up linux-image-3.2.0-27-generic (3.2.0-27.43) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-27-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-27-generic /boot/vmlinuz-3.2.0-27-generic
Searching for GRUB installation directory ... found: /boot/grub
/etc/default/grub: line 24: unexpected EOF while looking for matching ``'
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 2
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.2.0-27-generic.postinst lin...

Read more...

Revision history for this message
Alessandro Menti (elgaton) wrote :

What about "sudo dpkg-reconfigure grub"? That's the crucial part, since it should try to fix the configuration error you're experiencing.

Revision history for this message
manik garg (maneik-deactivatedaccount) wrote :

It did nothing.I issued the command and nothing happened.

Revision history for this message
Brian Murray (brian-murray) wrote :

You have too many quotes in this line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i8042.reset""

in your /etc/default/grub file. You want only 1 ending quote not 2.

Changed in grub2 (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
DaleEMoore (daleemoore) wrote :

do-release-upgrade got me this error.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.