yum install: Error: Package
search cancel

yum install: Error: Package

book

Article ID: 296664

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

Customer is installing 6.13.0 using yum and is getting the following error:
# yum install greenplum-db-6.13.0-rhel7-x86_64.rpm
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Examining greenplum-db-6.13.0-rhel7-x86_64.rpm: greenplum-db-6-6.13.0-1.el7.x86_64
Marking greenplum-db-6.13.0-rhel7-x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package greenplum-db-6.x86_64 0:6.13.0-1.el7 will be installed
--> Processing Dependency: krb5-devel for package: greenplum-db-6-6.13.0-1.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.15.1-18.el7 will be installed
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.15.1-18.el7.x86_64
--> Running transaction check
---> Package libselinux-devel.x86_64 0:2.5-12.el7 will be installed
--> Processing Dependency: libselinux(x86-64) = 2.5-12.el7 for package: libselinux-devel-2.5-12.el7.x86_64
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-12.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-12.el7.x86_64
--> Running transaction check
---> Package libselinux-devel.x86_64 0:2.5-12.el7 will be installed
--> Processing Dependency: libselinux(x86-64) = 2.5-12.el7 for package: libselinux-devel-2.5-12.el7.x86_64
---> Package libsepol-devel.x86_64 0:2.5-8.1.el7 will be installed
--> Processing Dependency: libsepol(x86-64) = 2.5-8.1.el7 for package: libsepol-devel-2.5-8.1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: libsepol-devel-2.5-8.1.el7.x86_64 (localrepo)
           Requires: libsepol(x86-64) = 2.5-8.1.el7
           Installed: libsepol-2.5-10.el7.x86_64 (@PM-202106)
               libsepol(x86-64) = 2.5-10.el7
           Available: libsepol-2.5-8.1.el7.x86_64 (localrepo)
               libsepol(x86-64) = 2.5-8.1.el7
Error: Package: libselinux-devel-2.5-12.el7.x86_64 (localrepo)
           Requires: libselinux(x86-64) = 2.5-12.el7
           Installed: libselinux-2.5-15.el7.x86_64 (@PM-202106)
               libselinux(x86-64) = 2.5-15.el7
           Available: libselinux-2.5-12.el7.x86_64 (localrepo)
               libselinux(x86-64) = 2.5-12.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

When resolving package dependencies:
  • Package libsepol-devel is required and version 2.5.8.1 is available in localrepro
  • This requires package libsepol version 2.5-8.1
  • Version 2.5-10 is installed and will not be downgraded to an older version

Also:
  • Package libselinux-devel is required and version 2.5.12 is available in localrepro
  • This requires package libselinux version 2.5-12
  • Version 2.5-15 is installed and will not be downgraded to older version


Environment

Product Version: 6.13

Resolution

Resolution 1

Update "localrepo" with the latest packages.
 

Resolution 2

Point to official repo to get the latest packages. This is a Linux Operating System (OS) change and should be done by an OS Administrator.