RHEL 7 - Unable to install SALT - Dependency errors

See original GitHub issue

Description of Issue

Unable to install SALT on RHEL 7 VM due to dependency errors:

yum install:

Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: salt = 3002.2-1.el8 for package: salt-master-3002.2-1.el8.noarch
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
--> Running transaction check
---> Package salt.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-m2crypto >= 0.31.0 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-msgpack >= 0.4 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-zmq >= 17.0.0 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(distro) >= 1.2 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(m2crypto) >= 0.33.0 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(msgpack) >= 0.5 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(pyzmq) >= 17.0.0 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(requests) >= 1.0.0 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-distro for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-jinja2 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-markupsafe for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-psutil for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-pycurl for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-pyyaml for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-requests for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-rpm for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-six for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(jinja2) for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(markupsafe) for package: salt-3002.2-1.el8.noarch
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
--> Running transaction check
---> Package python3-distro.noarch 0:1.2.0-4.el8 will be installed
---> Package python3-m2crypto.x86_64 0:0.33.0-1.el8 will be installed
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: python3-m2crypto-0.33.0-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_1)(64bit) for package: python3-m2crypto-0.33.0-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: python3-m2crypto-0.33.0-1.el8.x86_64
--> Processing Dependency: python3-typing for package: python3-m2crypto-0.33.0-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: python3-m2crypto-0.33.0-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: python3-m2crypto-0.33.0-1.el8.x86_64
---> Package python3-msgpack.x86_64 0:0.6.1-3.el8 will be installed
---> Package python3-zmq.x86_64 0:17.0.0-5.el8 will be installed
--> Processing Dependency: libzmq.so.5()(64bit) for package: python3-zmq-17.0.0-5.el8.x86_64
---> Package python36-jinja2.noarch 0:2.11.1-1.el7 will be installed
---> Package python36-psutil.x86_64 0:5.6.7-1.el7 will be installed
---> Package python36-pycurl.x86_64 0:7.43.0-7.el7 will be installed
---> Package python36-requests.noarch 0:2.14.2-2.el7 will be installed
--> Processing Dependency: python36-chardet for package: python36-requests-2.14.2-2.el7.noarch
--> Processing Dependency: python36-idna for package: python36-requests-2.14.2-2.el7.noarch
--> Processing Dependency: python36-urllib3 for package: python36-requests-2.14.2-2.el7.noarch
---> Package python36-rpm.x86_64 0:4.11.3-9.el7 will be installed
---> Package salt.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-jinja2 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-markupsafe for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-pyyaml for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-six for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(markupsafe) for package: salt-3002.2-1.el8.noarch
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
--> Running transaction check
---> Package openssl11-libs.x86_64 1:1.1.1g-2.el7 will be installed
---> Package python3-typing.noarch 0:3.5.2.2-4.el8 will be installed
---> Package python36-chardet.noarch 0:3.0.4-1.el7 will be installed
---> Package python36-idna.noarch 0:2.10-1.el7 will be installed
---> Package python36-urllib3.noarch 0:1.25.6-2.el7 will be installed
--> Processing Dependency: python36-six >= 1.12.0 for package: python36-urllib3-1.25.6-2.el7.noarch
--> Processing Dependency: python36-pysocks for package: python36-urllib3-1.25.6-2.el7.noarch
---> Package salt.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-jinja2 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-markupsafe for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-pyyaml for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-six for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(markupsafe) for package: salt-3002.2-1.el8.noarch
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libpgm-5.2.so.0()(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libsodium.so.23()(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libunwind.so.8()(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Running transaction check
---> Package libsodium.x86_64 0:1.0.18-1.el7 will be installed
---> Package libunwind.x86_64 2:1.2-2.el7 will be installed
---> Package openpgm.x86_64 0:5.2.122-17.el8 will be installed
---> Package python36-pysocks.noarch 0:1.6.8-7.el7 will be installed
---> Package python36-six.noarch 0:1.14.0-2.el7 will be installed
---> Package salt.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-jinja2 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-markupsafe for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-pyyaml for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-six for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(markupsafe) for package: salt-3002.2-1.el8.noarch
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Finished Dependency Resolution
Error: Package: salt-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3.6dist(markupsafe)
Error: Package: salt-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3-markupsafe
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: salt-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3-pyyaml
Error: Package: salt-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3-six
Error: Package: salt-master-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3-systemd
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: salt-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3-jinja2
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

Enable all repositories and try again? [y/N]: y
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/sat-tools/6.8/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://cdn.redhat.com/content/e4s/rhel/server/7/7Server/x86_64/sat-tools/6.2/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/e4s/rhel/server/7/7Server/x86_64/sat-tools/6.1/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/sat-tools/6.6/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/sat-tools/6.7/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
--> Running transaction check
---> Package salt.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-jinja2 for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-markupsafe for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-pyyaml for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3-six for package: salt-3002.2-1.el8.noarch
--> Processing Dependency: python3.6dist(markupsafe) for package: salt-3002.2-1.el8.noarch
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Running transaction check
---> Package python3-jinja2.noarch 0:2.11.2-1.el7pc will be installed
---> Package python3-markupsafe.x86_64 0:1.1.1-2.el7pc will be obsoleting
---> Package python3-pyyaml.x86_64 0:5.3.1-3.el7pc will be obsoleting
---> Package python3-six.noarch 0:1.15.0-1.el7pc will be installed
---> Package python36-PyYAML.x86_64 0:3.13-1.el7 will be obsoleted
---> Package python36-markupsafe.x86_64 0:0.23-3.el7 will be obsoleted
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
Removing python36-six.noarch 0:1.14.0-2.el7 - u due to obsoletes from python3-six.noarch 0:1.15.0-1.el7pc - u
Removing python36-jinja2.noarch 0:2.11.1-1.el7 - u due to obsoletes from python3-jinja2.noarch 0:2.11.2-1.el7pc - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package python36-jinja2.noarch 0:2.11.1-1.el7 will be installed
---> Package python36-six.noarch 0:1.14.0-2.el7 will be installed
---> Package salt-master.noarch 0:3002.2-1.el8 will be installed
--> Processing Dependency: python3-systemd for package: salt-master-3002.2-1.el8.noarch
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Finished Dependency Resolution
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: salt-master-3002.2-1.el8.noarch (salt-py3-latest)
           Requires: python3-systemd
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Script Install:

 *  INFO: Running version: 2020.10.20
 *  INFO: Executed by: -
 *  INFO: Command line: './install_salt.sh -M git develop'

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   3.10.0-957.el7.x86_64
 *  INFO:   Distribution: <R>ed <H>at <E>nterprise <L>inux 7.9

 *  INFO: Installing minion
 *  INFO: Installing master
 *  INFO: Found function install_red_hat_enterprise_linux_git_deps
 *  INFO: Found function config_salt
 *  INFO: Found function preseed_master
 *  INFO: Found function install_red_hat_enterprise_linux_git
 *  INFO: Found function install_red_hat_enterprise_linux_git_post
 *  INFO: Found function install_red_hat_enterprise_linux_restart_daemons
 *  INFO: Found function daemons_running
 *  INFO: Running install_red_hat_enterprise_linux_git_deps()
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Package yum-utils-1.1.31-54.el7_8.noarch already installed and latest version
Package chkconfig-1.7.6-1.el7.x86_64 already installed and latest version
Package PyYAML-3.11-1.el7.x86_64 already installed and latest version
Nothing to do
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Package ca-certificates-2020.2.41-70.0.el7_8.noarch already installed and latest version
Nothing to do
 *  WARN: The git revision being installed does not match a Salt version tag. Shallow cloning disabled
Cloning into 'salt'...
Switched to a new branch 'develop'
Branch develop set up to track remote branch develop from origin.
 *  INFO: Cloning Salt's git repository succeeded
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Package python-2.7.5-90.el7.x86_64 already installed and latest version
Package python-futures is obsoleted by python2-futures, trying to install python2-futures-3.1.1-5.el7.noarch instead
Package python-crypto is obsoleted by python2-crypto, trying to install python2-crypto-2.6.1-16.el7.x86_64 instead
Package python-jinja2-2.7.2-4.el7.noarch already installed and latest version
No package python-tornado available.
Resolving Dependencies
--> Running transaction check
---> Package m2crypto.x86_64 0:0.21.1-17.el7 will be updated
---> Package m2crypto.x86_64 0:0.31.0-4.el7 will be an update
--> Processing Dependency: python2-typing for package: m2crypto-0.31.0-4.el7.x86_64
---> Package python-requests.noarch 0:2.6.0-10.el7 will be installed
--> Processing Dependency: python-urllib3 >= 1.10.2-1 for package: python-requests-2.6.0-10.el7.noarch
---> Package python-zmq.x86_64 0:15.3.0-3.el7 will be installed
--> Processing Dependency: zeromq >= 4 for package: python-zmq-15.3.0-3.el7.x86_64
--> Processing Dependency: libzmq.so.5()(64bit) for package: python-zmq-15.3.0-3.el7.x86_64
---> Package python2-crypto.x86_64 0:2.6.1-16.el7 will be installed
--> Processing Dependency: libtomcrypt.so.0()(64bit) for package: python2-crypto-2.6.1-16.el7.x86_64
---> Package python2-futures.noarch 0:3.1.1-5.el7 will be installed
---> Package python2-msgpack.x86_64 0:0.6.2-2.el7 will be installed
---> Package systemd-python.x86_64 0:219-78.el7_9.2 will be installed
--> Running transaction check
---> Package libtomcrypt.x86_64 0:1.17-25.el7 will be installed
--> Processing Dependency: libtommath >= 0.42.0 for package: libtomcrypt-1.17-25.el7.x86_64
--> Processing Dependency: libtommath.so.0()(64bit) for package: libtomcrypt-1.17-25.el7.x86_64
---> Package python-urllib3.noarch 0:1.10.2-7.el7 will be installed
---> Package python2-typing.noarch 0:3.5.2.2-4.el7 will be installed
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libpgm-5.2.so.0()(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libsodium.so.23()(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libunwind.so.8()(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Running transaction check
---> Package libsodium.x86_64 0:1.0.18-1.el7 will be installed
---> Package libtommath.x86_64 0:0.42.0-5.el7 will be installed
---> Package libunwind.x86_64 2:1.2-2.el7 will be installed
---> Package openpgm.x86_64 0:5.2.122-17.el8 will be installed
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Finished Dependency Resolution
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
**********************************************************************
Dependency resolving failed due to missing dependencies.
Some repositories on your system are disabled, but yum can enable them
and search for missing dependencies. This will require downloading
metadata for disabled repositories and may take some time and traffic.
**********************************************************************

https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/sat-tools/6.8/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

https://cdn.redhat.com/content/e4s/rhel/server/7/7Server/x86_64/sat-tools/6.2/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/e4s/rhel/server/7/7Server/x86_64/sat-tools/6.1/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/sat-tools/6.6/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/sat-tools/6.7/os/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
--> Running transaction check
---> Package zeromq.x86_64 0:4.3.1-4.el8 will be installed
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: zeromq-4.3.1-4.el8.x86_64
--> Finished Dependency Resolution
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: zeromq-4.3.1-4.el8.x86_64 (salt-py3-latest)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
 * ERROR: Failed to run install_red_hat_enterprise_linux_git_deps()!!!

Setup

RHEL 7 VM

Steps to Reproduce Issue

I’ve tried installing both via yum:

yum install salt-master

and the SALT install shell script:

./install_salt.sh -M git develop

Versions Report

N/A

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
AlexdeTarantocommented, Jul 26, 2022

I had exactly the same issue just now, trying to install Salt on Centos7.9. I hadn’t spotted that I was trying to install using the instructions for RHEL/Centos8. As soon as I switched my salt repository to using the following repo data, it worked like a charm:

[saltstack-repo]
name=Salt repo for Red Hat Enterprise Linux $releasever
baseurl=https://repo.saltproject.io/py3/redhat/$releasever/$basearch/latest
enabled=1
gpgcheck=1
gpgkey=https://repo.saltproject.io/py3/redhat/$releasever/$basearch/latest/SALTSTACK-GPG-KEY.pub
       https://repo.saltproject.io/py3/redhat/$releasever/$basearch/latest/base/RPM-GPG-KEY-CentOS-7
0reactions
ScriptAutomatecommented, Aug 6, 2021

@ConstableBall I’m not sure what is going on with yours, as your errors are showing el8 (instead of el7 / CentOS 7) related errors. I have tried the same bootstrap against both CentOS 7 and CentOS 8, and I am unable to reproduce. Can you try again, and also provide the output for:

cat /etc/*ease*

I’m going to close this issue, but a new issue can be created if this is still a problem for @ConstableBall (as their problem differs from the original problem of @pcmccollum). If it is still an issue, open a new issue with the same details, but also provide the detailed output of cat /etc/*ease* on the system, along with verifying that these commands have been run on CentOS 7 (as your output suggests CentOS 8, or incorrect functionality coming from salt-bootstrap).

If a new issue is raised, it should be raised in:

As it may be specifically bootstrap related. To confirm whether Salt doesn’t install at all, regardless of using bootstrap, attempt installing the direct route:

# Directions from https://repo.saltproject.io/#rhel
sudo rpm --import https://repo.saltproject.io/py3/redhat/7/x86_64/latest/SALTSTACK-GPG-KEY.pub
curl -fsSL https://repo.saltproject.io/py3/redhat/7/x86_64/latest.repo | sudo tee /etc/yum.repos.d/salt.repo
Read more comments on GitHub >

github_iconTop Results From Across the Web

RHEL / CentOS / Scientific Linux / Amazon Linux / Oracle Linux
RHEL /CentOS 6 and 7, Scientific Linux, etc.​​ Salt 2015.8 is currently not available in EPEL due to unsatisfied dependencies: python-crypto 2.6. 1...
Read more >
yum install salt-master fails - Google Groups
I run "yum install salt-master" and it fails. Not sure why it's not installing the dependancies, any suggestions? ERROR OUTPUT: [root@luke ~]# yum ......
Read more >
Why does yum return error: [Errno 256] No more mirrors to try
If the system is registered with Red Hat Subscription Manager (RHSM) via subscription-manager, rhel-source.repo and redhat.repo are present.
Read more >
Ubuntu Manpage: salt - Salt Documentation
SaltStack repository provides all needed dependencies. WARNING: If installing on Red Hat Enterprise Linux 7 with disabled (not subscribed on) 'RHEL Server ...
Read more >
Installing docker CE on redhat 7 - Unix & Linux Stack Exchange
You need to enable=1 the [rhel-7-server-extras-rpms] repository in /etc/yum.repos.d/redhat.repo. Then you can try again : yum install ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found