E: Mysql-server-5.5 Installation Error [closed]

Try to purge all dependencies and re-install mysql-server.

sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-5.5
sudo apt-get install mysql-server

Open your terminal and type this

 sudo dpkg --configure mysql-server-5.5

it also mentioned that some dependencies issues are there

sudo apt-get install -f 

can help you to fix that issue.


Actually, the following bug report helped me a lot: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739846

The following commands should do the job:

echo "exit 0" >> /etc/init.d/mysql
dpkg --configure -a

However I had to configure it twice (the 2nd command).