Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tried to install phpMyAdmin using the sudo apt-get install phpmyadmin command> The terminal says that there are "uninstallable" dependencies, therefore the package is broken.Perhaps the following copy-paste from the terminal will explain the full view:

sudo apt-get install phpmyadmin
[sudo] password for sam: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 phpmyadmin : Depends: php5-mysql but it is not going to be installed or
                       php5-mysqli but it is not installable
              Recommends: php5-gd but it is not going to be installed
E: Broken packages

What do you suggest on this problem?

share|improve this question
What Ubuntu version are you using? What happens if you try to install php5-mysql? – Lekensteyn Oct 5 '11 at 19:17

Only with that app, or with everything you try to install?

You can try:

sudo apt-get -f install
share|improve this answer

Thanks everyone. I managed to install the package and all of its dependencies. The problem was that I wasn't updating repositories for a while.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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