How do I remove SQL and start over with mariadb ?
by Oldy from LinuxQuestions.org on (#55NQJ)
Hi there.
I have to remove MySQL/MariaDB, but I can't either - sudo apt remove/autoremove/purge, there are lots of error from it. Ubuntu 20 VPS.
https://www.screencast.com/t/5a1Z19Mq
https://ibb.co/LQhjY7r
sudo apt remove -f mysql-server-8.0
PHP Code:...
dpkg: error while cleaning up:
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you help me?


I have to remove MySQL/MariaDB, but I can't either - sudo apt remove/autoremove/purge, there are lots of error from it. Ubuntu 20 VPS.
https://www.screencast.com/t/5a1Z19Mq
https://ibb.co/LQhjY7r
sudo apt remove -f mysql-server-8.0
PHP Code:...
dpkg: error while cleaning up:
installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
Can you help me?