package linux-image-2.6.31-21-generic 2.6.31-21.59 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
That package started to install itself after being downloaded by Ubuntu 9.10 update manager. After a while it reported a crash. The package itself had some 28.9 MB (or something like that). In fact it tried to update Grub that came with Ub 9.10 (a beta version, don't know which one, 1.97 beta or so).
ProblemType: Package
Architecture: i386
Date: Sat May 15 17:55:38 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: linux-image-
ProcVersionSign
SourcePackage: grub2
Title: package linux-image-
Uname: Linux 2.6.31-20-generic i686
tags: | added: kj-triage |
... After the crash happened, and after a while, I started Update manager once again, but it said the following:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.
... Then I opened terminal and put the command required above. The result was:
misko@desktop:~$ sudo dpkg --configure -a 2.6.31- 21-generic (2.6.31-21.59) ... img-2.6. 31-21-generic update- grub. 2.6.31- 21-generic img-2.6. 31-21-generic 2.6.31- 20-generic img-2.6. 31-20-generic 2.6.31- 14-generic img-2.6. 31-14-generic +.bin update- grub] exited with value 2 2.6.31- 21-generic (--configure): image-2. 6.31-21- generic
[sudo] password for misko:
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Running postinst hook script /usr/sbin/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
Found Windows NT/2000/XP (loader) on /dev/sda1
/etc/grub.d/README: 2: All: not found
/etc/grub.d/README: 4: 00_*:: not found
/etc/grub.d/README: 5: 10_*:: not found
/etc/grub.d/README: 6: Syntax error: "(" unexpected
User postinst hook script [/usr/sbin/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
linux-
misko@desktop:~$
... The second try to start Update Manager resulted in downloading remaining update files from repositories. 2.6.31- 20-generic some ten days ago went smoothly.
By the way, the installation of updated linux image: /boot/vmlinuz-