perfsonar / archive

The perfSONAR Measurement Archive based on OpenSearch
Apache License 2.0
0 stars 1 forks source link

Cannot install perfsonar-archive RPM on RHEL8 -- complains about selinux-policy package #19

Open btp opened 1 year ago

btp commented 1 year ago

The perfsonar-archive package says it needs selinux-policy >= 3.14.3-117.el8_8.2. The version on my RHEL8 system is 3.14.3-117.el8 -- is the problem that I don't have a minor OS version number in my selinux-policy package name (el8 vs. el8_8.8)?

Details of attempted installation session:

# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.8 (Ootpa)
# dnf repolist
Updating Subscription Management repositories.
repo id                                                 repo name
ansible-2.9-for-rhel-8-x86_64-rpms                      Red Hat Ansible Engine 2.9 for RHEL 8 x86_64 (RPMs)
codeready-builder-for-rhel-8-x86_64-rpms                Red Hat CodeReady Linux Builder for RHEL 8 x86_64 (RPMs)
epel                                                    Extra Packages for Enterprise Linux 8 - x86_64
perfSONAR                                               perfSONAR RPM Repository - software.internet2.edu - main
rhel-8-for-x86_64-appstream-rpms                        Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)
rhel-8-for-x86_64-baseos-rpms                           Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
satellite-client-6-for-rhel-8-x86_64-rpms               Red Hat Satellite Client 6 for RHEL 8 x86_64 (RPMs)
# dnf install perfsonar-archive-5.0.4-1.el8.noarch 
Updating Subscription Management repositories.
Last metadata expiration check: 0:47:22 ago on Wed 02 Aug 2023 02:20:07 PM PDT.
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides selinux-policy >= 3.14.3-117.el8_8.2 needed by perfsonar-archive-5.0.4-1.el8.noarch
  - nothing provides selinux-policy-base >= 3.14.3-117.el8_8.2 needed by perfsonar-archive-5.0.4-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
# rpm -qa|grep selinux-policy
selinux-policy-targeted-3.14.3-117.el8.noarch
selinux-policy-3.14.3-117.el8.noarch
selinux-policy-mls-3.14.3-117.el8.noarch
selinux-policy-minimum-3.14.3-117.el8.noarch
# dnf install selinux-policy-base
Updating Subscription Management repositories.
Last metadata expiration check: 0:48:39 ago on Wed 02 Aug 2023 02:20:07 PM PDT.
Package selinux-policy-targeted-3.14.3-117.el8.noarch is already installed.
Package selinux-policy-mls-3.14.3-117.el8.noarch is already installed.
Package selinux-policy-minimum-3.14.3-117.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
btp commented 1 year ago

I think the selinux-policy requirements just need to have the _8.2 or .el8_8.2 excised:

# rpm -qR perfsonar-archive-5.0.4-1.el8.noarch.rpm 
warning: perfsonar-archive-5.0.4-1.el8.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID f7cf7e97: NOKEY
/bin/bash
/bin/sh
/bin/sh
/bin/sh
config(perfsonar-archive) = 5.0.4-1.el8
curl
httpd
jq
libselinux-utils
mod_ssl
opensearch >= 2.1.0
openssl
perfsonar-common
perfsonar-elmond
perfsonar-logstash
policycoreutils
policycoreutils-python-utils
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
selinux-policy >= 3.14.3-117.el8_8.2
selinux-policy-base >= 3.14.3-117.el8_8.2
selinux-policy-targeted
selinux-policy-targeted