root@ubuntu:~# sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done mysql-server is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 464 not upgraded. The above installation error appearing while I've try to install my sql server, so it shows that installation has been broken, so you need to remove all the my sql server logs which are partially installed on linux, then again install it as the following steps, apt-get purge mysql-server apt-get purge mysql-common rm -rf /var/log/mysql rm -rf /var/log/mysql.* rm -rf /var/lib/mysql rm -rf /etc/mysql # and then: apt-get install mysql-server --fix-missing --fix-broken"