package linux-headers-2.6.38-11-generic 2.6.38-11.48 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Output:
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Not updating initrd symbolic links since we are being updated/reinstalled
(2.6.38-11.47 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(2.6.38-11.47 was configured last, according to dpkg)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Traceback (most recent call last):
File "/usr/bin/
a = NvidiaDetection
File "/usr/lib/
self.getData()
File "/usr/lib/
driver_version = self.__
File "/usr/lib/
v = int(name)
ValueError: invalid literal for int() with base 10: '173-updates'
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess installed post-installation script returned error exit status 2
My box has a intel/radeon GPU combination, so no nvidia-related packages are installed. We probably see an unintentional dependency of linux-image on nvidia-173.
ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: linux-headers-
ProcVersionSign
Uname: Linux 2.6.38-11-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC275 Analog [ALC275 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'PCH'/'HDA Intel PCH at 0xc9400000 irq 50'
Mixer name : 'Intel CougarPoint HDMI'
Components : 'HDA:10ec0275,
Controls : 20
Simple ctrls : 9
Date: Sun Aug 14 21:08:17 2011
ErrorMessage: subprocess installed post-installation script returned error exit status 2
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
MachineType: Sony Corporation VPCSA2V9R
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.52.1
SourcePackage: linux
Title: package linux-headers-
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
dmi.bios.date: 04/25/2011
dmi.bios.vendor: INSYDE
dmi.bios.version: R1031H4
dmi.board.
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.
dmi.modalias: dmi:bvnINSYDE:
dmi.product.name: VPCSA2V9R
dmi.product.
dmi.sys.vendor: Sony Corporation
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Issue worked around by
$ sudo apt-get purge nvidia-common
As a side effect, ubuntu-desktop has been removed. I think, it is bad and it should be possible to install ubuntu-desktop without proprietary nvidia drivers. Suggestion is to demote nvidia-common to Recommends in ubuntu-desktop dependencies.