installing new kernels fails: nvidia-common postinst failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-common (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: nvidia-common
On a Dell Latitude X1 (containing no nvidia hardware), upgrading intrepid fails at two points (see below).
Removing the nvidia-common scripts provides a workaround for me.
1)
Setting up linux-image-
Running depmod.
update-initramfs: Generating /boot/initrd.
Examining /etc/kernel/
run-parts: executing /etc/kernel/
debconf: Unable to load Debconf:
l/5.10.0 /usr/local/
, <GEN0> line 2.
BEGIN failed--compilation aborted at (eval 24) line 2, <GEN0> line 2.
Can't locate object method "new" via package "Debconf:
FrontEnd.pm line 68, <GEN0> line 2.
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-image-
subprocess post-installation script returned error exit status 2
---
2)
Setting up linux-headers-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
debconf: Unable to load Debconf:
BEGIN failed--compilation aborted at (eval 24) line 2, <GEN0> line 2.
Can't locate object method "new" via package "Debconf:
run-parts: /etc/kernel/
Failed to process /etc/kernel/
dpkg: error processing linux-headers-
subprocess post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-headers-
linux-
Package linux-headers-
dpkg: error processing linux-headers-
dependency problems - leaving unconfigured
Maybe there was a problem with Debconf when you did the dist-upgrade.
Please type:
sudo apt-get install nvidia-common
sudo apt-get install --reinstall linux-headers- 2.6.27- 4-generic
and let me know what happens.
If nothing happens then the problem is solved.