root@bt:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
beef
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up nvidia-current (295.20-0ubuntu1~lucid~xup1) ...
update-initramfs: deferring update (trigger activated)
update-initramfs: Generating /boot/initrd.img-2.6.39.4
Removing old nvidia-current-295.20 DKMS files...
-------- Uninstall Beginning --------
Module: nvidia-current
Version: 295.20
Kernel: 2.6.39.4 (i686)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
nvidia-current.ko:
- Uninstallation
- Deleting from: /lib/modules/2.6.39.4/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod.....
DKMS: uninstall Completed.
------------------------------
Deleting module version: 295.20
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-295.20 DKMS files...
First Installation: checking all kernels...
Building for 2.6.39.4 and 3.2.6
Building for architecture i686
Building initial module for 2.6.39.4
Done.
nvidia-current.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/2.6.39.4/updates/dkms/
depmod.....
DKMS: install Completed.
Building initial module for 3.2.6
Error! Bad return status for module build on kernel: 3.2.6 (i686)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/295.20/build/ for more information.
dpkg: error processing nvidia-current (--configure):
subprocess installed post-installation script returned error exit status 10
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.39.4
Errors were encountered while processing:
nvidia-current
E: Sub-process /usr/bin/dpkg returned an error code (1)