Bug #83476 SQL Node installation fails with Missing Perl Classes
| Submitted: | 21 Oct 2016 9:46 | Modified: | 25 Oct 2016 20:52 |
|---|---|---|---|
| Reporter: | Venkatram Sundaramani | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S1 (Critical) |
| Version: | 5.7 | OS: | Red Hat (7) |
| Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
| Tags: | Community Client, Community Server, perl(Class::MethodMaker), perl(Data::Dumper), perl(DBI) | ||
[25 Oct 2016 20:52]
MySQL Verification Team
Hi, you are probably missing the EPEL repo on your RHEL7 box that's needed for the perl(Class::MethodMaker)dependency. [root@localhost ~]# yum localinstall mysql-cluster-community-common-7.5.4-1.el7.x86_64.rpm ... Installed: mysql-cluster-community-common.x86_64 0:7.5.4-1.el7 Complete! [root@localhost ~]# yum localinstall mysql-cluster-community-libs-7.5.4-1.el7.x86_64.rpm ... Installed: mysql-cluster-community-libs.x86_64 0:7.5.4-1.el7 Complete!
[25 Oct 2016 20:52]
MySQL Verification Team
[root@localhost ~]# yum localinstall mysql-cluster-community-client-7.5.4-1.el7.x86_64.rpm ... ============================================== Installing: mysql-cluster-community-client x86_64 7.5.4-1.el7 /mysql-cluster-community-client-7.5.4-1.el7.x86_64 357 M Installing for dependencies: perl x86_64 4:5.16.3-286.el7 ol7_latest 8.0 M perl-Carp noarch 1.26-244.el7 ol7_latest 19 k perl-Class-MethodMaker x86_64 2.20-1.el7 epel 334 k perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7 ol7_latest 32 k perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7 ol7_latest 57 k perl-DBI x86_64 1.627-4.el7 ol7_latest 801 k perl-Data-Dumper x86_64 2.145-3.el7 ol7_latest 47 k perl-Encode x86_64 2.51-7.el7 ol7_latest 1.5 M perl-Exporter noarch 5.68-3.el7 ol7_latest 28 k perl-File-Path noarch 2.09-2.el7 ol7_latest 26 k perl-File-Temp noarch 0.23.01-3.el7 ol7_latest 56 k perl-Filter x86_64 1.49-3.el7 ol7_latest 76 k perl-Getopt-Long noarch 2.40-2.el7 ol7_latest 55 k perl-HTTP-Tiny noarch 0.033-3.el7 ol7_latest 38 k perl-IO-Compress noarch 2.061-2.el7 ol7_latest 259 k perl-Net-Daemon noarch 0.48-5.el7 ol7_latest 50 k perl-PathTools x86_64 3.40-5.el7 ol7_latest 82 k perl-PlRPC noarch 0.2020-14.el7 ol7_latest 35 k perl-Pod-Escapes noarch 1:1.04-286.el7 ol7_latest 50 k perl-Pod-Perldoc noarch 3.20-4.el7 ol7_latest 86 k perl-Pod-Simple noarch 1:3.28-4.el7 ol7_latest 216 k perl-Pod-Usage noarch 1.63-3.el7 ol7_latest 26 k perl-Scalar-List-Utils x86_64 1.27-248.el7 ol7_latest 35 k perl-Socket x86_64 2.010-3.el7 ol7_latest 48 k perl-Storable x86_64 2.45-3.el7 ol7_latest 76 k perl-Text-ParseWords noarch 3.29-4.el7 ol7_latest 13 k perl-Time-HiRes x86_64 4:1.9725-3.el7 ol7_latest 44 k perl-Time-Local noarch 1.2300-2.el7 ol7_latest 24 k perl-constant noarch 1.27-2.el7 ol7_latest 18 k perl-libs x86_64 4:5.16.3-286.el7 ol7_latest 687 k perl-macros x86_64 4:5.16.3-286.el7 ol7_latest 42 k perl-parent noarch 1:0.225-244.el7 ol7_latest 12 k perl-podlators noarch 2.5.1-3.el7 ol7_latest 111 k perl-threads x86_64 1.87-4.el7 ol7_latest 48 k perl-threads-shared x86_64 1.43-6.el7 ol7_latest 38 k Transaction Summary ============================================================================================================================================================================================================== Install 1 Package (+35 Dependent packages) Total size: 370 M Total download size: 13 M Installed size: 417 M Is this ok [y/d/N]: y Downloading packages: ...
[25 Oct 2016 20:52]
MySQL Verification Team
Installed: mysql-cluster-community-client.x86_64 0:7.5.4-1.el7 Dependency Installed: perl.x86_64 4:5.16.3-286.el7 perl-Carp.noarch 0:1.26-244.el7 perl-Class-MethodMaker.x86_64 0:2.20-1.el7 perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 perl-DBI.x86_64 0:1.627-4.el7 perl-Data-Dumper.x86_64 0:2.145-3.el7 perl-Encode.x86_64 0:2.51-7.el7 perl-Exporter.noarch 0:5.68-3.el7 perl-File-Path.noarch 0:2.09-2.el7 perl-File-Temp.noarch 0:0.23.01-3.el7 perl-Filter.x86_64 0:1.49-3.el7 perl-Getopt-Long.noarch 0:2.40-2.el7 perl-HTTP-Tiny.noarch 0:0.033-3.el7 perl-IO-Compress.noarch 0:2.061-2.el7 perl-Net-Daemon.noarch 0:0.48-5.el7 perl-PathTools.x86_64 0:3.40-5.el7 perl-PlRPC.noarch 0:0.2020-14.el7 perl-Pod-Escapes.noarch 1:1.04-286.el7 perl-Pod-Perldoc.noarch 0:3.20-4.el7 perl-Pod-Simple.noarch 1:3.28-4.el7 perl-Pod-Usage.noarch 0:1.63-3.el7 perl-Scalar-List-Utils.x86_64 0:1.27-248.el7 perl-Socket.x86_64 0:2.010-3.el7 perl-Storable.x86_64 0:2.45-3.el7 perl-Text-ParseWords.noarch 0:3.29-4.el7 perl-Time-HiRes.x86_64 4:1.9725-3.el7 perl-Time-Local.noarch 0:1.2300-2.el7 perl-constant.noarch 0:1.27-2.el7 perl-libs.x86_64 4:5.16.3-286.el7 perl-macros.x86_64 4:5.16.3-286.el7 perl-parent.noarch 1:0.225-244.el7 perl-podlators.noarch 0:2.5.1-3.el7 perl-threads.x86_64 0:1.87-4.el7 perl-threads-shared.x86_64 0:1.43-6.el7 Complete! [root@localhost ~]#
[25 Oct 2016 20:55]
MySQL Verification Team
Hi, so the solution is to install EPEL: https://fedoraproject.org/wiki/EPEL repo to your RHEL. Why RedHat decided to move perl-Class-MethodMaker.x86_64 0:2.20-1.el7 to EPEL is beyond me but it's what's needed here. all best Bogdan
[13 Aug 2018 6:29]
Leo Mancera
Thanks Bogdan Kecman!
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.043 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: While trying to install MySQL Community Server 5.7 on RHEL 7.2, failed due to dependencies of below : a) mysql-cluster-community-client(x86-64) >= 5.7.9 is needed by mysql-cluster-community-server-7.5.4-1.el7.x86_64 b) mysql-cluster-community-common(x86-64) = 7.5.4-1.el7 is needed by mysql-cluster-community-server-7.5.4-1.el7.x86_64 while mysql-cluster-community-common got installed successfully, mysql-cluster-community-client on invoking using the below command, fails for the perl classes dependencies : # rpm -Uhv mysql-cluster-community-client-7.5.4-1.el7.x86_64.rpm error: Failed dependencies: perl(Class::MethodMaker) is needed by mysql-cluster-community-client-7.5.4-1.el7.x86_64 perl(DBI) is needed by mysql-cluster-community-client-7.5.4-1.el7.x86_64 perl(Data::Dumper) is needed by mysql-cluster-community-client-7.5.4-1.el7.x86_64 Please note that before installed mysql-cluster-community-client, mysql-cluster-community-libs was installed successfully. How to repeat: While trying to install MySQL Community Server 5.7 on RHEL 7.2, failed due to dependencies of below : a) mysql-cluster-community-client(x86-64) >= 5.7.9 is needed by mysql-cluster-community-server-7.5.4-1.el7.x86_64 b) mysql-cluster-community-common(x86-64) = 7.5.4-1.el7 is needed by mysql-cluster-community-server-7.5.4-1.el7.x86_64 while mysql-cluster-community-common got installed successfully, mysql-cluster-community-client on invoking using the below command, fails for the perl classes dependencies : # rpm -Uhv mysql-cluster-community-client-7.5.4-1.el7.x86_64.rpm error: Failed dependencies: perl(Class::MethodMaker) is needed by mysql-cluster-community-client-7.5.4-1.el7.x86_64 perl(DBI) is needed by mysql-cluster-community-client-7.5.4-1.el7.x86_64 perl(Data::Dumper) is needed by mysql-cluster-community-client-7.5.4-1.el7.x86_64 Please note that before installed mysql-cluster-community-client, mysql-cluster-community-libs was installed successfully.