Message 'E:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.'

You referred a wrong link. Try the below commands on terminal to remove all the files inside /var/lib/dpkg/updates directory ,

cd /var/lib/dpkg/updates
sudo rm *

And then run the below command to get newer ones,

sudo apt-get update

It works for me! I was trying to install the wireless driver when this error came. Had to delete the files and also the lock files.

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
cd /var/lib/dpkg/updates
sudo rm *
sudo apt-get update

and then you can run your apt-get install to whatever package you want to install