Comment 2 for bug 576648

Revision history for this message
Daniel Zappala (daniel-zappala) wrote : Re: package nvidia-* failed to install/upgrade: nvidia-current kernel module failed to build (Unable to determine the target kernel version.)

Try this:

sudo apt-get install --reinstall linux-headers-2.6.32-22
sudo apt-get install --reinstall nvidia-current