Where have I wrote that you have to remove mariaDB? I think you are using it?!?
And before you can run the installer, apt-get upgrade must run without errors.
Sorry, but if you do not do what your are told, we could not help.
You didn't said me to remove mariadb. I didn't had mysql. I tried those. But I had mariaDB. As I said I was using it. So I decided to remove that instead to see if that imscp error gets away?.
I only had this version running and no mysql server or client.
mysql-server-core-10.0
mysql-client-core-10.0
mysql-server-10.0
And yes I followed your step except changed mysql with mariadb as there were no package for mysql. Destro packages has been upgraded and there were no error came up.
But still getting the same above error after removing mariadb server and client.