I was installing Xampp from terminal using sudo apt-get install lamp-server
My computer shut down while lamp-server was still installing.
I ran sudo apt-get install lamp-server again and it returned the following error:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.