Receive selinux-policy dependency errors when performing disconnected Satellite installation or upgrade

Solution In Progress - Updated -

Issue

When attempting to install or upgrade Red Hat Satellite in a disconnected environment, you may receive dependency errors regarding the selinux-policy package when running the install_packages command from the mounted Satellite ISO:

# ./install_packages 
This script will install the satellite packages on the current machine.
   - Ensuring we are in an expected directory.
   - Copying installation files.
   - Creating a Repository File
   - Creating RHSCL Repository File
   - Checking to see if Satellite is already installed.
   - Importing the gpg key.
Error: Package: pulp-selinux-2.13.4.12-1.el7sat.noarch (satellite-local)
           Requires: selinux-policy >= 3.13.1-192.el7_5.4
           Installed: selinux-policy-3.13.1-192.el7.noarch (@anaconda/7.5)
               selinux-policy = 3.13.1-192.el7
Error: Package: candlepin-selinux-2.1.18-1.el7.noarch (satellite-local)
           Requires: selinux-policy >= 3.13.1-192.el7_5.3
           Installed: selinux-policy-3.13.1-192.el7.noarch (@anaconda/7.5)
               selinux-policy = 3.13.1-192.el7
Error while executing command: 'yum install -y satellite'

This can occur in a disconnected environment with the Satellite 6.3.3 or 6.4 ISO images, when used on a server built from the RHEL 7.5 ISO image.

Environment

  • Red Hat Satellite 6.3
  • Red Hat Satellite 6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content