LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2020, 01:44 PM   #1
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Rep: Reputation: Disabled
Lamp Install Issue


All,

Have an old machine that crashed, so restoring. It is Ubutu 14.04 and keep geting install errors on MySql. Error is:
Code:
mysql-server is already the newest version.
php5-mysql is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
This is from the cmd:
Quote:
apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql
Running tests it actually shows mysql 5.6 is installed but not working due to errors,

All attempts to purge mysql-server 5.5 from the install list fail.

The MySql version that actually need to run on this box is 5.7 but the onlinw repositories are so messed up that even running the
Code:
apt-get update && apt-get upgrade
cmds do not properly upgrade the apt install list.

I've tried following several of the HOWTOs for fixing this issue, but none of them fix it.

If I can just get a full version of 5.6 installed then upgrading to 5.7 might actually work, but prefer a straight install of 5.7.

I have all the .deb files for these at:
Code:
/path/Installs/Installer_Packages/DB_Packages/MySQL/5.5+/5.5
/path/Installs/Installer_Packages/DB_Packages/MySQL/5.5+/5.6
/path/Installs/Installer_Packages/DB_Packages/MySQL/5.5+/5.7
The real thing I think I need help with is howto purge the mysql-server-5.5 from the install list, because the associate errors will not let me install anything at all on this machine until this error is cleared.

All help appreciated!

Cheers!

TBNK
 
Old 01-02-2020, 02:02 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Standard support for 14.04 went EOL 30 April 2019 which is why apt-get commands fail. Typically the repositories get moved to archive so if you change source you might be still able to install packages but only what was available as of the EOL date. Installing mysql 5.7 required the apt package repository according to digital ocean.

https://www.digitalocean.com/communi...n-ubuntu-14-04
 
Old 01-03-2020, 05:26 AM   #3
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
Standard support for 14.04 went EOL 30 April 2019 which is why apt-get commands fail. Typically the repositories get moved to archive so if you change source you might be still able to install packages but only what was available as of the EOL date. Installing mysql 5.7 required the apt package repository according to digital ocean.

https://www.digitalocean.com/communi...n-ubuntu-14-04
michaelk,

Thanks for the reply!

But how do I clear the hung pkg? I have all the .deb files needed for install of mysql, but can't clear this pile of crap. This process should basically be the same regardless of the Ubuntu version.

Telling me what I already know does not help!

Cheers!

TBNK
 
Old 01-03-2020, 05:35 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
the process is the same, but the outcome is different, because the online repositories are unavailable. You cannot use them any more.
You can [try to] remove all the mysql packages with dpkg.
 
Old 02-07-2020, 09:35 AM   #5
TBotNik
Member
 
Registered: May 2016
Location: Greenville, TX
Distribution: Kubuntu 18.04
Posts: 796

Original Poster
Rep: Reputation: Disabled
All,

The machine in question is running Kubuntu 14.04 and decided to backup all files and DVD install 18.04 with drive format to solve this.

Over 1,000 .php files will no longer work as not on mysqli for the latest versions.

Cheers!

TBNK
 
Old 02-07-2020, 10:35 AM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,783

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
Yes, Ubuntu 14 ran PHP version 5x and 18 is PHP version 7x. May not be the desired answer but if you want a current distribution that still uses PHP 5.x CentOS 7 might be worth the switch versus updating 1000 files. MariaDB is now the default but you can still install mysql.

Eventually your going to need to update your php files...
 
  


Reply

Tags
howto, install, lamp, mysql



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A few queries about LAMP. My LAMP is not burning! autophil Linux - Networking 7 07-20-2011 12:31 PM
LXer: Enterprise LAMP Summit & Big LAMP Camp LXer Syndicated Linux News 0 09-21-2009 01:51 AM
LXer: LAMP vs. LAMP Rematch LXer Syndicated Linux News 0 11-08-2006 03:03 AM
LXer: LAMP vs. LAMP LXer Syndicated Linux News 0 08-22-2006 11:33 PM
Setting up LAMP, issue with Mysql Doug.Gentry Linux - Software 2 02-22-2006 06:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration