Error installing MySQL 8 on RHEL 7

My yum install command is failing. I first did yum clean all

I even tried with localinstall.

Below is the error output:

yum install mysql-community-server*.rpm

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Repository 'SDCSS-Updates': Error parsing config: Error parsing "baseurl = '100^?.9.9.68'": URL must be http, ftp, file or https not ""

Marking mysql-community-server-8.0.17-1.el8.x86_64.rpm to be installed
Examining mysql-community-server-debug-8.0.17-1.el8.x86_64.rpm: mysql-community-server-debug-8.0.17-1.el8.x86_64
Marking mysql-community-server-debug-8.0.17-1.el8.x86_64.rpm to be installed
Examining mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64.rpm: mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64
Marking mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64.rpm to be installed
Examining mysql-community-server-debuginfo-8.0.17-1.el8.x86_64.rpm: mysql-community-server-debuginfo-8.0.17-1.el8.x86_64
Marking mysql-community-server-debuginfo-8.0.17-1.el8.x86_64.rpm to be installed
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.60-1.el7_5 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-server.x86_64 0:8.0.17-1.el8 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 8.0.17-1.el8 for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.11)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3(TIRPC_0.3.0)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3()(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
---> Package mysql-community-server-debug.x86_64 0:8.0.17-1.el8 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0d)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.11)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3(TIRPC_0.3.0)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3()(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
---> Package mysql-community-server-debug-debuginfo.x86_64 0:8.0.17-1.el8 will be installed
--> Processing Dependency: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8 for package: mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64
---> Package mysql-community-server-debuginfo.x86_64 0:8.0.17-1.el8 will be installed
--> Processing Dependency: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8 for package: mysql-community-server-debuginfo-8.0.17-1.el8.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_1)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1()(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1()(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64)
           Requires: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_1)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: mysql-community-server-debuginfo-8.0.17-1.el8.x86_64 (/mysql-community-server-debuginfo-8.0.17-1.el8.x86_64)
           Requires: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3(TIRPC_0.3.0)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1()(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3()(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3(TIRPC_0.3.0)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.11)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1()(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3()(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.11)(64bit)
Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda/7.3)
           Requires: mariadb-server
           Removing: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (@rhel-7-latest)
               mariadb-server = 1:5.5.60-1.el7_5
           Obsoleted By: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
               Not found
           Available: 1:mariadb-server-5.5.35-3.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.35-3.el7
           Available: 1:mariadb-server-5.5.37-1.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.37-1.el7_0
           Available: 1:mariadb-server-5.5.40-1.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.40-1.el7_0
           Available: 1:mariadb-server-5.5.40-2.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.40-2.el7_0
           Available: 1:mariadb-server-5.5.41-2.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.41-2.el7_0
           Available: 1:mariadb-server-5.5.44-1.el7_1.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.44-1.el7_1
           Available: 1:mariadb-server-5.5.44-2.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.44-2.el7
           Available: 1:mariadb-server-5.5.47-1.el7_2.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.47-1.el7_2
           Available: 1:mariadb-server-5.5.50-1.el7_2.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.50-1.el7_2
           Available: 1:mariadb-server-5.5.52-1.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.52-1.el7
           Available: 1:mariadb-server-5.5.56-2.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.56-2.el7
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: mysql-community-common(x86-64) = 8.0.17-1.el8
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_0d)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: mysql-community-client(x86-64) >= 8.0.11
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

# ls -ltr mysql-community-server*.rpm
-rw-r--r-- 1 user1 user1  52800696 Jun 27 16:20 mysql-community-server-8.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 user1 user1  20314620 Jun 27 16:20 mysql-community-server-debug-8.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 user1 user1  89433280 Jun 27 16:20 mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 user1 user1 174347328 Jun 27 16:20 mysql-community-server-debuginfo-8.0.17-1.el8.x86_64.rpm

# uname -a
Linux myhost 3.10.0-957.12.1.el7.x86_64 #1 SMP Wed Mar 20 11:34:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
# cat /etc/system-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)

Can you please suggest ?

Is not the error obvious, in these lines from your post?

I'm not sure if dependency errors like:

are related to the registration with an entitlement server problem.

I will try to fix the entitlement error to see if it help resolve the dependency errors. By the way my server is offline & does not have connectivity to the internet and thats inline with my organisation policy.

I guess I am confused.

You have a company policy that says you can't download software from the internet.

You are using a server that is not connected to the internet.

Why are you surprised that yum is unable to download updates from an external source that is not accessible to your server?

Why are you trying to use yum to download software from the internet when your company policy says that you are not supposed to do that?

1 Like

I must have stated that I use localinstall with yum. So we download the rpm and dependencies and copy them to the server and install locally using yum localinstall . I however, still get the same error. I'm not a system admin but more so an application developer who is trying to get his needed softwares (mysql in this case) installed and working on the system. Meanwhile, i continue to troubleshoot the error.

You can stop using yum if you are having problems and download the source, move the source to your target and build it.

https://dev.mysql.com/downloads/mysql/8.0.html

If you cannot get yum to work, then try another method.

This is how sys admins work :slight_smile:

I had already downloaded the source (rpms) to the target and was building it using yum localistall .

I will now try using rpm installer.

By naming convention, package names like
*.x86_64 0:8.0.17-1.el8
mean they are for RedHat 8.
Reach out for .el7 packages, for RHEL 7!

Note that Oracle mysql will replace the RedHat mariadb.

Figured out the issue. If you look at the output for the rpm package name ... See bold highlighted.

ël8 indicates enterprise linux 8 while I have Linux 7 as mentioned in the OP.

Will try the with the correct source packages.