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.
|