package linux-headers-2.6.38-11-generic 2.6.38-11.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #855722 reported by Alex Brown
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

received this error running "sudo apt-get update && sudo apt-get dist-upgrade":
Setting up linux-image-2.6.38-11-generic (2.6.38-11.50) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.38-11-generic
Warning: No support for locale: en_US.utf8
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.38-11.48 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.38-11.48 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
 * dkms: running auto installation service for kernel 2.6.38-11-generic
 * fglrx (8.840)... [ OK ]
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
run-parts: executing /etc/kernel/postinst.d/nvidia-common 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
Traceback (most recent call last):
  File "/usr/bin/nvidia-detector", line 8, in <module>
    a = NvidiaDetection(printonly=True, verbose=False)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 68, in __init__
    self.getData()
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 148, in getData
    driver_version = self.__get_value_from_name(stripped_package_name)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 87, in __get_value_from_name
    v = int(name)
ValueError: invalid literal for int() with base 10: '173-updates'
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.38-11-generic.postinst line 1010.
dpkg: error processing linux-image-2.6.38-11-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up linux-headers-2.6.38-11-generic (2.6.38-11.50) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
 * dkms: running auto installation service for kernel 2.6.38-11-generic
 * fglrx (8.840)... [ OK ]
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common 2.6.38-11-generic /boot/vmlinuz-2.6.38-11-generic
Traceback (most recent call last):
  File "/usr/bin/nvidia-detector", line 8, in <module>
    a = NvidiaDetection(printonly=True, verbose=False)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 68, in __init__
    self.getData()
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 148, in getData
    driver_version = self.__get_value_from_name(stripped_package_name)
  File "/usr/lib/python2.7/dist-packages/NvidiaDetector/nvidiadetector.py", line 87, in __get_value_from_name
    v = int(name)
ValueError: invalid literal for int() with base 10: '173-updates'
run-parts: /etc/kernel/header_postinst.d/nvidia-common exited with return code 1
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-2.6.38-11-generic.postinst line 110.
dpkg: error processing linux-headers-2.6.38-11-generic (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 linux-image-2.6.38-11-generic
 linux-headers-2.6.38-11-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
-------------------------------------------------------------------------------------------------------------------------
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: linux-headers-2.6.38-11-generic 2.6.38-11.50
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
NonfreeKernelModules: fglrx
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
AptOrdering:
 linux-image-2.6.38-11-generic: Configure
 linux-headers-2.6.38-11-generic: Configure
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 1: SB [HDA ATI SB], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: alex 1669 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Generic'/'HD-Audio Generic at 0xe0244000 irq 43'
   Mixer name : 'ATI R6xx HDMI'
   Components : 'HDA:1002aa01,00aa0100,00100200'
   Controls : 4
   Simple ctrls : 1
Card0.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
Card1.Amixer.info:
 Card hw:1 'SB'/'HDA ATI SB at 0xe0240000 irq 16'
   Mixer name : 'Conexant CX20590'
   Components : 'HDA:14f1506e,17aa6011,00100000'
   Controls : 8
   Simple ctrls : 5
Date: Wed Sep 21 12:45:41 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
MachineType: LENOVO 1450A5U
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic root=UUID=122CD2FE2CD2DC33 loop=/ubuntu/disks/root.disk ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-11-generic N/A
 linux-backports-modules-2.6.38-11-generic N/A
 linux-firmware 1.52
SourcePackage: linux
Title: package linux-headers-2.6.38-11-generic 2.6.38-11.50 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:

dmi.bios.date: 04/18/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 52CN09WW
dmi.board.asset.tag: Base Board Asset Tag Unknown
dmi.board.name: Inagua
dmi.board.vendor: LENOVO
dmi.board.version: 109-B78210-00A
dmi.chassis.asset.tag: Chassis Asset Tag Unknown
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Chassis Version Unknown
dmi.modalias: dmi:bvnLENOVO:bvr52CN09WW:bd04/18/2011:svnLENOVO:pn1450A5U:pvrLenovoB575:rvnLENOVO:rnInagua:rvr109-B78210-00A:cvnLENOVO:ct10:cvrChassisVersionUnknown:
dmi.product.name: 1450A5U
dmi.product.version: Lenovo B575
dmi.sys.vendor: LENOVO

Revision history for this message
Alex Brown (alexpbrown9) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Alex Brown (alexpbrown9)
description: updated
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.