dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing mysql-server-5.5 (--configure):
实际上是由于mysql的手动删除是没有清除干净。
处理方法如下:
sudo rm /var/lib/mysql/ -R
sudo rm /etc/mysql/ -R
sudo apt-get autoremove mysql* --purge
sudo rm /etc/mysql/ -R
sudo apt-get autoremove mysql* --purge
然后重新安装即可