Upgrading Red Hat Satellite 6 fails with dependency error for pcsc-lite-devel package, how to fix it?
Environment
- Red Hat Satellite 6.3
- Red Hat Satellite 6.4
Issue
- Upgrading Red Hat Satellite 6 server fails with missing dependency error.
- Updating packages on Red Hat Satellite 6 fails with dependency errors :
[root@satellite ~]# yum update
Loaded plugins: enabled_repos_upload, package_upload, product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package ansible.noarch 0:2.6.13-1.el7ae will be updated
---> Package ansible.noarch 0:2.6.14-1.el7ae will be an update
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.191.b12-1.el7_6 will be updated
---> Package java-1.8.0-openjdk.x86_64 1:1.8.0.201.b09-0.el7_6 will be an update
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.191.b12-1.el7_6 will be updated
---> Package java-1.8.0-openjdk-headless.x86_64 1:1.8.0.201.b09-0.el7_6 will be an update
--> Processing Dependency: pcsc-lite-devel(x86-64) for package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64
--> Finished Dependency Resolution
Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64 (rhel-7-server-rpms)
Requires: pcsc-lite-devel(x86-64)
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: 1:java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6.x86_64 (rhel-7-server-rpms)
Requires: pcsc-lite-devel(x86-64)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Resolution
- On Monday, March 04, 2019, Red Hat released a bugfix advisory that addresses this issue: RHBA-2019:0452
- Clear everything from past executions of yum:yum clean all.
- Reattempt to update or install Satellite.
Root Cause
- On Thursday, February 28, 2019, Red Hat released security errata RHSA-2019:0435. It provided the
java-1.8.0-openjdk-headless-1.8.0.201.b09-0.el7_6package. That package erroneously depends on thepcsc-lite-develpackage from therhel-7-server-optional-rpmsrepository.
SBR
Product(s)
Category
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.