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

While installing Paper-theme on my Elementary 0.3.2 Freya it got frozen and restarted, and since then I can't install nor delete anything. "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem." - this is what I get all the time. I tried couple links but the problem remains.


After some blind actions I opened Nautilus as root and found /var/lib/dpkg/update/ and deleted all the files in it. Now everything is working as it used to.