Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Package libapache2-mod-auth-mysql is not available

I'm trying to install a LAMP stack on Linux Mint 16 Mate x64 but always get an error when I run this command:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

I'm using the default source repositories. I managed to install apache2, php5 and mysql but whenever I install the three packages it returns:

Package libapache2-mod-auth-mysql is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libapache2-mod-auth-mysql' has no installation candidate

Because of this I can't use the friendly URL feature.

like image 371
moderadorkl25 Avatar asked Dec 08 '13 20:12

moderadorkl25


3 Answers

According to this thread the libapache2-mod-auth-mysql package is no longer maintained, and not needed:

I get the impression that many people have ended up here because they want to install a LAMP stack, since some instructions somewhere state that this package should be installed to get a LAMP stack. This is incorrect. This package is only required for Apache authentication against MySQL (as opposed to doing it at the web app end, which is far more common). It appears to me that there are cargo culted instructions floating around the Internet.

— Robie Basak

I just installed a LAMP stack without that package, and it works fine.

sudo apt-get install php5-mysql phpmyadmin
like image 111
Daniel A.A. Pelsmaeker Avatar answered Nov 20 '22 20:11

Daniel A.A. Pelsmaeker


This is a confirmed bug. See this

like image 31
sublimelaconic Avatar answered Nov 20 '22 20:11

sublimelaconic


I also just installed the package without libapache2-mod-auth-mysql.

Seems to work just fine.

sudo apt-get install mysql-server php5-mysql phpmyadmin
like image 1
Nickel3ack Avatar answered Nov 20 '22 20:11

Nickel3ack