1#remove phpmyadmin
2#1
3sudo apt-get purge phpmyadmin
4or
5sudo apt-get remove phpmyadmin
6#2
7sudo apt-get autoremove
1sudo rm -r /var/lib/dpkg/info/phpmyadmin.* \
2&& sudo apt-get clean \
3&& sudo apt-get update \
4&& sudo apt-get remove phpmyadmin \
5&& sudo apt-get purge phpmyadmin
6
7sudo apt-get update \
8sudo apt-get -f install \
9sudo apt autoremove