problems on installing nvidia drivers

i got this :

Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

what is this? can anyone help me how i can get out of this. i have problem on upgrading because of this.


Try this

Try this command in a terminal:
sudo dpkg --configure -a
Post back any error messages.
Then run these:
sudo apt-get update
sudo apt-get upgrade