The following packages have unmet dependencies fix

The following packages have unmet dependencies fix details

I was recently trying to install php5-curl and ran in to this error

# apt-get install php5-curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 mod-pagespeed-beta : Depends: apache2.2-common but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

How to fix error “The following packages have unmet dependencies fix”

Whatever package it is complaining about you must run apt-get remove… example:

# apt-get remove mod-pagespeed-beta
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  mod-pagespeed-beta
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3924kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 44500 files and directories currently installed.)
Removing mod-pagespeed-beta ...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.