LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-12-2016, 09:26 AM   #1
dolphin_1
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Rep: Reputation: Disabled
Urgent - Trying to install Mysql 5.6 on amazon ami


Hello ,

Trying to install mysql 5.6 on linux and keep getting REQUIRES : systemd error. Not sure how do i install systemd or should i simply ignore the broken pipe using --skip-broken during yum installation of mysql-server. Following are the details of system .

#cat /proc/version
Linux version 4.4.30-32.54.amzn1.x86_64 (mockbuild@gobi-build-60008) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 10 15:52:05 UTC 2016

cat /etc/os-release
NAME="Amazon Linux AMI"
VERSION="2016.09"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2016.09"
PRETTY_NAME="Amazon Linux AMI 2016.09"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2016.09:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"


#rpm -qa | grep mysql
mysql56-5.6.33-1.21.amzn1.x86_64
mysql-config-5.5.52-1.13.amzn1.x86_64
mysql56-libs-5.6.33-1.21.amzn1.x86_64
mysql56-errmsg-5.6.33-1.21.amzn1.x86_64
mysql56-server-5.6.33-1.21.amzn1.x86_64
mysql56-common-5.6.33-1.21.amzn1.x86_64
mysql-community-release-el6-5.noarch


and below is the error of dependancey i keep getting ....

# yum install mysql-server mysql
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
5 packages excluded due to repository priority protections
Package mysql-server is obsoleted by mysql-community-server, trying to install mysql-community-server-5.6.34-2.el7.x86_64 instead
Package mysql is obsoleted by mysql-community-client, trying to install mysql-community-client-5.6.34-2.el7.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.6.34-2.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) >= 5.6.10 for package: mysql-community-client-5.6.34-2.el7.x86_64
---> Package mysql-community-server.x86_64 0:5.6.34-2.el7 will be installed
--> Processing Dependency: mysql-community-common(x86-64) = 5.6.34-2.el7 for package: mysql-community-server-5.6.34-2.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.6.34-2.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.6.34-2.el7.x86_64
--> Running transaction check
---> Package mysql-community-common.x86_64 0:5.6.34-2.el7 will be installed
---> Package mysql-community-libs.x86_64 0:5.6.34-2.el7 will be installed
---> Package mysql-community-server.x86_64 0:5.6.34-2.el7 will be installed
--> Processing Dependency: systemd for package: mysql-community-server-5.6.34-2.el7.x86_64
--> Processing Dependency: systemd for package: mysql-community-server-5.6.34-2.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-server-5.6.34-2.el7.x86_64 (mysql56-community)
Requires: systemd
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


NOTE: not sure from where system is getting this 5.6.34 version

Thanks in advance...

D

Last edited by dolphin_1; 12-12-2016 at 09:28 AM.
 
Old 12-12-2016, 11:27 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
#rpm -qa | grep mysql
mysql56-5.6.33-1.21.amzn1.x86_64
mysql-config-5.5.52-1.13.amzn1.x86_64
mysql56-libs-5.6.33-1.21.amzn1.x86_64
mysql56-errmsg-5.6.33-1.21.amzn1.x86_64
mysql56-server-5.6.33-1.21.amzn1.x86_64
mysql56-common-5.6.33-1.21.amzn1.x86_64
mysql-community-release-el6-5.noarch
The above means that mysql is already installed in your system

Quote:
Error: Package: mysql-community-server-5.6.34-2.el7.x86_64 (mysql56-community)
Requires: systemd
The error you get is because you're trying to install a package that is built for a different system (note the el7 in the package name above)

Regards
 
Old 12-14-2016, 03:52 AM   #3
dolphin_1
LQ Newbie
 
Registered: Dec 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by bathory View Post
The error you get is because you're trying to install a package that is built for a different system (note the el7 in the package name above)
@bathory,

Thanks for the response and clarification. I had tried el7.9 package too but had same error popping up. However, it was good news and helpful to know that mysql is already installed.
So i would try now to configure and migrate existing h2 db to the new mysql db (fingers crossed).
 
  


Reply



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
(Amazon linux AMI) passenger starts but something is off? sndlt Linux - Software 0 09-08-2015 05:45 PM
Amazon Linux AMI(Amazon Machine Image) - ec2 server - query about pem file unclesamcrazy Linux - Newbie 11 11-27-2014 04:31 PM
LXer: Amazon's Linux AMI is All Grown Up LXer Syndicated Linux News 0 09-28-2011 05:20 PM
Amazon AMI Linux vandora Linux - Newbie 2 06-06-2011 04:08 PM
LXer: How To Create A LAMP Setup (Apache2, PHP, MySQL) On CentOS 5.x In An Amazon Linux AMI 32bits O LXer Syndicated Linux News 0 02-07-2011 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:42 AM.

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