1

I've searched around this Stack Exchange network for this particular solution, it seems others have encountered something similar but not quite under the same lines as mine. I've been trying to install Apache, MySQL and PHP on my system.

Apache installed just fine as presented in my guide, however when trying to install MySQL I get the following dependency message:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: mysql-server : Depends: mysql-server-5.5 but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I'm somewhat lost at this post, I am running the Debian distribution. It may also be better to let you know that I've tried installing this once before (quite a long time ago) and haven't tried since.

If you wish a link to the guide I mentioned, it's from DigitalOcean. Thank you


When trying to do apt-get install mysql-server-5.5 I get the following:

The following packages have unmet dependencies: mysql-server-5.5 : Depends: mysql-client-5.5 (>= 5.5.40-0+wheezy1) but it is not going to be installed Depends: libdbi-perl but it is not installable Depends: mysql-server-core-5.5 (>= 5.5.40-0+wheezy1) but it is not going to be installed Recommends: libhtml-template-perl but it is not installable E: Unable to correct problems, you have held broken packages.


Also when performing apt-get update the following shows up aswell:

Release file for http://debian.res.um.edu.mt/debian/dists/wheezy-updates/Release is expired (invalid since 42d 23h 56min 2s). Updates for this repository will not be applied.

  • What if you try to install mysql-server-5.5? – fkraiem Dec 4 '14 at 20:21
  • What release of debian? See unix.stackexchange.com/q/121180 – Faheem Mitha Dec 4 '14 at 20:22
  • @fkraiem Gives me a weird message, I shall post it on the main question underneath in a minute. Faheem - Debian Wheezy(7), reading that post now thanks – Juxhin Dec 4 '14 at 20:28
  • Added another part which shows the error when trying to use apt-get update. Have also tried autoclean and autoremove. Nothing seems to fix the issue – Juxhin Dec 4 '14 at 20:46
  • The error for apt-get update is caused by the mirror having an out-of-date copy of wheezy-updates. Can you use any other debian mirrors instead of this one? – wurtel Dec 5 '14 at 8:39

Your Answer

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

Browse other questions tagged or ask your own question.