Eu usei comandos diferentes como: sudo apt-get install -f sudo apt-get remove mysql * Mas está mostrando o mesmo erro que os erros foram encontrados durante o processamento: mysql-server-5.6 E: Subprocesso / usr / bin / dpkg retornou um código de erro (1)
sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libaio1 libdbi-perl libterm-readkey-perl mysql-server-5.6 0 upgraded, 0 newly installed, 4 to remove and 7 not upgraded. 1 not fully installed or removed. After this operation, 55.1 MB disk space will be freed. Do you want to continue? [Y/n] Y (Reading database ... 454921 files and directories currently installed.) Removing mysql-server-5.6 (5.6.28-0ubuntu0.15.04.1) ... /var/lib/dpkg/info/mysql-server-5.6.postrm: line 53: /usr/share/mysql-common/configure-symlinks: No such file or directory dpkg: error processing package mysql-server-5.6 (--remove): subprocess installed post-removal script returned error exit status 1 Removing libaio1:amd64 (0.3.110-1) ... Removing libdbi-perl (1.631-3build1) ... Removing libterm-readkey-perl (2.32-1build1) ... Processing triggers for libc-bin (2.21-0ubuntu4) ... Processing triggers for man-db (2.7.0.2-5) ... Errors were encountered while processing: mysql-server-5.6 E: Sub-process /usr/bin/dpkg returned an error code (1)