Comment 7 for bug 331675

Revision history for this message
Andrew (andrew-rw-robinson) wrote : Re: package linux-image-2.6.28-8-generic 2.6.28-8.24 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Workaround:

(cd /usr/bin/; sudo mv nvidia-detector nvidia-detector2)

Then finish installing nvidia-common

(cd /usr/bin/; sudo mv nvidia-detector2 nvidia-detector)

Should work. The problem looks like that it tries to execute the python script before the python libraries are installed!