-
error Kernel Update
hello guys
i try to update kernal to linux-image-2.6.30.7
but i get error every time
i use apt-get -f install the same error
and apt-get autoclean
the command i use
Code:
dpkg -i --force all linux-image-2.6.30.7_2.6.30.7-10.00.Custom_i386.deb
and the error
Code:
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
run-parts: executing /etc/kernel/postinst.d/nvidia-common
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.30.7.postinst line 1181.
dpkg: error processing linux-image-2.6.30.7 (--install):
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
linux-image-2.6.30.7
if someone can help me please
-
run-parts: /etc/kernel/postinst.d/nvidia-common exited with return code 20
Just guessing , something to do with Nvidia drivers ?
Do you have an Nvidia card or nvidia drivers already installed on the current kernel ?
-
-
A possible solution seems to be here
hxxps://bugs.launchpad.net/ubuntu/+source/nvidia-common/+bug/292606
1)Check if you have nvidia-common installed
1a)If yes , uninstall it - #sudo apt-get remove nvidia-common
1b)If no , install it - #sudo apt-get install nvidia-common - Then uninstall it
2)Install your new kernel
3)Re-install Nvidia drivers
The people who say it works are installing an earlier kernel version than yours , suggest you read the above link before trying this
Good luck :D
Post back if it works
-
Nvidia breaks the kernel every time you update. This is becasue is a .ko kernel driver so it must be rebuilt agaist the new kernel. You have to remove the module and reinstall the drivers after the kernel is built.
-
Sword1, the issue is in your syntax. The --force all option should read --force-all