Hi, Welcome to LQ,
This error simply means dpkg failed, but from the information you gave, it is not clear why. The more information you will give more people on LQ will be able to help you.
Does it say only "Sub-process /usr/bin/dpkg returned an error code (1)" or are there more lines? Run the command and use the forum CODE construct to post the content of the terminal.
In the meantime, you might try:
Code:
sudo apt-get clean
sudo apt-get update
sudo apt-get install -f