I got an error while trying to install phpmyadmin on my Raspberry Pi 3, the error message is:
dpkg was interrupted, you must manually run 'sudo dpkg --configure -a'
I think it's a problem related to the /var/lib folder, something went wrong and files got corrupted.
After running the command sudo dpkg -- etc... it seems everything is fine but when I try to install the package of phpmyadmin again, another error message appeared:
Error bus