I literally tried everything.
Almost every answer in stackoverflow, I still can't remove MySQL
The following packages were automatically installed and are no longer required:libdbi-perl libterm-readkey-perl Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: mysql-server-5.5* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 32.5 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 25587 files and directories currently installed.) Removing mysql-server-5.5 (5.5.47-0+deb8u1) ... Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. dpkg: error processing package mysql-server-5.5 (--purge): subprocess installed pre-removal script returned error exit status 5 Failed to stop mysql.service: Unit mysql.service not loaded. invoke-rc.d: initscript mysql, action "stop" failed. Failed to start mysql.service: Unit mysql.service failed to load: No such >file or directory. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 6 Errors were encountered while processing: mysql-server-5.5 E: Sub-process /usr/bin/dpkg returned an error code (1)
This is becoming a nightmare. I googled hell and back, I tried everything I found, from purging packages, autoclean, autoremove, removing directories, shutting down services, etc.
I still get errors.
I'm seriously thinking on a clean install.