0

whenever I am trying to install php5 or my-sql I am getting below error.

The following packages have unmet dependencies: mysql-server : Depends: mysql-server-5.5 but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

What's the problem here.

  • What happens when you run: apt-get -f install as suggested in the error? – Tshilidzi Mudau Dec 14 '15 at 11:49
  • Here's the result – Suraj Dec 14 '15 at 11:52
1

Your log shows that MariaDB 10.0 is present (the same error), and dpkg fails on version check (it thinks you perform downgrade). Try to remove MariaDB or make the following (I do not know, whether MariaDB would work after installation of mysql over it):

sudo -i rm /var/lib/mysql/debian-*.flag

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.