Erro ao desisntalar o MYSQL no Ubuntu 20.04.1 LTS

1. Erro ao desisntalar o MYSQL no Ubuntu 20.04.1 LTS

Lauro Brizidio
laurobrizidio

(usa Outra)

Enviado em 09/08/2020 - 11:10h

Bom Dia,
Estou tentando desistalar o MYSQL pelo terminal do Ubuntu e estou obtendo os seguintes erros:
Aṕos dar o comando remove

sudo apt remove mysql-server-core-8.0


Obtenho

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
mysql-server-8.0 mysql-server-core-8.0
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 124 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 198893 files and directories currently installed.)
Removing mysql-server-8.0 (8.0.21-0ubuntu0.20.04.4) ...
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error processing package mysql-server-8.0 (--remove):
installed mysql-server-8.0 package pre-removal script subprocess returned
error exit status 1
dpkg: too many errors, stopping
Failed to stop mysql.service: Unit mysql.service not loaded.
invoke-rc.d: initscript mysql, action "stop" failed.
Failed to preset unit: File mysql.service: Link has been severed
/usr/bin/deb-systemd-helper: error: systemctl preset failed on mysql.servi
ce: No such file or directory
Failed to start mysql.service: Unit mysql.service not found.
invoke-rc.d: initscript mysql, action "start" failed.
Unit mysql.service could not be found.
dpkg: error while cleaning up:
installed mysql-server-8.0 package post-installation script subprocess re
turned error exit status 1
Errors were encountered while processing:
mysql-server-8.0
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)



Já procurei em vários foruns da internet, inclusive um aqui do vivaolinux que havia dado certo, bem parecido, no entanto sem sucesso!