package linux-image-2.6.38-8-generic-pae 2.6.38-8.42 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2

Bug #775323 reported by Dave Rogers
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The 2.6.38-8 kernel was not able to be installed on upgrading to natty. I'm not sure if I will be able to install it after the upgrade finishes. The bug report was automatically triggered, so I went with it..

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic-pae 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: drogers 2085 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfebfc000 irq 45'
   Mixer name : 'SigmaTel STAC9205'
   Components : 'HDA:838476a0,102801f2,00100204 HDA:14f12c06,14f1000f,00100000'
   Controls : 18
   Simple ctrls : 11
Date: Sun May 1 21:07:07 2011
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=UUID=80e7a1c3-6e4a-1d8c-7008-563eccb693ee
MachineType: Dell Inc. Inspiron 1720
ProcKernelCmdLine: root=UUID=5428c633-451e-42dd-841c-5a4eaf814a76 ro
RelatedPackageVersions:
 linux-restricted-modules-2.6.35-28-generic N/A
 linux-backports-modules-2.6.35-28-generic N/A
 linux-firmware 1.52
SourcePackage: linux
Title: package linux-image-2.6.38-8-generic-pae 2.6.38-8.42 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to natty on 2011-05-02 (0 days ago)
WpaSupplicantLog:

dmi.bios.date: 07/11/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A09
dmi.board.name: 0UK437
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA09:bd07/11/2008:svnDellInc.:pnInspiron1720:pvr:rvnDellInc.:rn0UK437:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1720
dmi.sys.vendor: Dell Inc.

Revision history for this message
Dave Rogers (drogers141) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Dave Rogers (drogers141) wrote :
Download full text (3.4 KiB)

Hi all,
I was able to install the current pae kernel eventually. After a few attempts at purging the kernel packages then reinstalling and attempting to reconfigure, I had to remove nvidia-common. Here is some relevant output:

Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.38-8-generic /boot/vmlinuz-2.6.38-8-generic
 * dkms: running auto installation service for kernel 2.6.38-8-generic
 * nvidia-current (270.41.06)... [ OK ]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-8-generic /boot/vmlinuz-2.6.38-8-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-8-generic /boot/vmlinuz-2.6.38-8-generic
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 10
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-8-generic.postinst line 1010.
dpkg: error processing linux-image-2.6.38-8-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up linux-image-2.6.38-8-generic-pae (2.6.38-8.42) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic-pae
Running postinst hook script /sbin/update-grub.

The current kernel and nvidia packages are:
$ dpkg -l | grep pae
ii linux-generic-pae 2.6.38.8.22 Complete Generic Linux kernel
ii linux-headers-2.6.38-8-generic-pae 2.6.38-8.42 Linux kernel headers for version 2.6.38 on x86
ii linux-headers-generic-pae 2.6.38.8.22 Generic Linux kernel headers
ii linux-image-2.6.38-8-generic-pae 2.6.38-8.42 Linux kernel image for version 2.6.38 on x86
ii linux-image-generic-pae 2.6.38.8.22 Generic Linux kernel image
drogers@laptop:~/Desktop/natty-narwhal
$ dpkg -l | grep nvidia
ii nvidia-180-libvdpau 185.18.36-0ubuntu9 Transitional package for nvidia-185-libvdpau
ii nvidia-185-kernel-source 270.41.06-0ubuntu1 Transitional package for nvidia-glx-185-kernel-source
ii nvidia-185-libvdpau 270.41.06-0ubuntu1 Transitional package for nvidia-185-libvdpau
ii nvidia-current 270.41.06-0ubuntu1 NVIDIA binary Xorg driver, kernel module and VDPAU library
rc nvidia-glx-177 177.82-0ubuntu0.1 NVIDIA binary Xorg driver
rc nvidia-glx-180-dev 180.44-0ubuntu1 NVIDIA binary Xorg driver development files
ii nvidia-glx-185 270.41.06-0ubuntu1 Transitional package for nvidia-glx-185
ii nvidia-settings 2...

Read more...

tags: added: dist-upgrade
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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