![](https://i-blog.csdnimg.cn/blog_migrate/123500e78fd6ef44b075b2f57808e459.jpeg)
![](https://i-blog.csdnimg.cn/blog_migrate/0f53b571d1b7521ecf8b9f2d472bb47f.jpeg)
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
然后重新安装即可