Solved

Installing mod-auth-mysql on Ubuntu 12.04 LTS

Posted on 2014-11-06
2
1,098 Views
Last Modified: 2014-11-11
After I upgraded to the latest version of PHP, mod-auth-mysql stopped working. When I try to install it, I get:

root@l1:/var/log/apache2# apt-get install libapache2-mod-auth-mysql
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:
 libapache2-mod-auth-mysql : Depends: apache2.2-common (>= 2.2.3-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Open in new window


Please advise, thanks.
0
Comment
Question by:Mark
2 Comments
 
LVL 23

Accepted Solution

by:
Dr. Klahn earned 500 total points
ID: 40427299
Your debian-based linux system requires that the module "apache2.2-common" be installed before "libapache2-mod-auth-mysql" can be installed.

Apache 2.2 may not be installed, or the apt database may be corrupt, or you may be running some other version of Apache rather than 2.2, or Apache may have been built from sources rather than installed by debian.  There are probably other possibilities as well but these are the ones which come to mind.

IF:
Apache 2.2 may not be installed
Do a full system backup so that if anything goes wrong, you can restore the system to its current state.  Then issue the command apt-get install apache2.2-common.  After Apache 2.2 is properly installed you should be able to install the module.

IF:
The apt database may be corrupt
Same as above, but back up your current Apache configuration first.

IF:
Running some other version of Apache rather than 2.2
Upgrade to Apache 2.2 or find a version of the module compatible with your current version.

IF:
Apache may have been built from sources rather than installed by debian.
Install "libapache2-mod-auth-mysql" from a source kit instead of as a debian install.
0
 

Author Comment

by:Mark
ID: 40428544
Trying to the simplest suggestion (I'm not sure how to do the others): I get the following

root@l1:/var/log/apache2# apt-get install apache2.2-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
[b]apache2.2-common is already the newest version.[/b]
The following packages were automatically installed and are no longer required:
  libterm-readkey-perl libdbd-mysql-perl
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@l1:/var/log/apache2#

Open in new window

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now