MySQL packages cannot be installed because of unmet dependencies - Ubuntu 12.04

Please find three screenshots attached.
The update was an automatic one, which I cannot install because of ‘unmet dependencies’.
MySQL is running fine. I’m just curious and want to fix it so that I don’t encounter a problem later on.

Here’s the explanation in the terminal:

dpkg: dependency problems prevent configuration of mysql-server-5.5:
mysql-server-5.5 depends on mysql-server-core-5.5 (= 5.5.29-0ubuntu0.12.04.1); however:
Version of mysql-server-core-5.5 on system is 5.5.29-0ubuntu0.12.04.2.
dpkg: error processing mysql-server-5.5 (–configure):

Please help, newbie.
Thank you.


I’ve been using Ubuntu for years. For this problem, usually sudo apt-get install -f in the terminal will solve this problem.

Let me know if it worked.

Hmmm, I’ve done some searching and it seems that this happens quite a bit to people. The strange thing is that there doesn’t seem to be a singular fix. :confused: However, the following may work:

sudo dpkg -r mysql-server-5.5 
sudo dpkg -r  mysql-server-core-5.5 

This should unmark it for installation. Then:

sudo apt-get update && sudo apt-get upgrade