Ubuntu: The following packages have unmet dependencies when removing mysql and mariadb on Ubuntu 16.04



Question:

I had maria-db installed on my Ubuntu 16.04

I want to remove maria-db and install mysql and tried all the methods and solutions to remove on uninstall but it keeps giving me an dependencies issues.

The last command I tried to remove everything related to mysql was:

sudo apt-get purge mysql*  

It gave me the following error:

The following packages have unmet dependencies:  dbconfig-mysql : Depends: mysql-client but it is not going to be instaled or mariadb-client but it is not going to be installd or virtual-mysql-client    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »