Red Hat Satellite 6 upgrade fails on dependency for ant-junit
Issue
-
When running upgrade or yum update on Red Hat Satellite server the following dependency error occurs:
--> Finished Dependency Resolution Error: Package: ant-junit-1.9.2-9.el7.noarch (@rhel-7-server-satellite-6.1-rpms) Requires: ant = 1.9.2-9.el7 Removing: ant-1.9.2-9.el7.noarch (@rhel-7-server-rpms) ant = 1.9.2-9.el7 Updated By: ant-1.9.4-2.el7.noarch (rhel-7-server-rpms) ant = 1.9.4-2.el7 ********************************************************************** 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 ********************************************************************** --> Running transaction check ---> Package ant.noarch 0:1.9.2-9.el7 will be updated --> Processing Dependency: ant = 1.9.2-9.el7 for package: ant-junit-1.9.2-9.el7.noarch ---> Package kernel.x86_64 0:3.10.0-862.3.3.el7 will be erased ---> Package kernel-devel.x86_64 0:3.10.0-862.3.3.el7 will be erased --> Finished Dependency Resolution Error: Package: ant-junit-1.9.2-9.el7.noarch (@rhel-7-server-satellite-6.1-rpms) Requires: ant = 1.9.2-9.el7 Removing: ant-1.9.2-9.el7.noarch (@rhel-7-server-rpms) ant = 1.9.2-9.el7 Updated By: ant-1.9.4-2.el7.noarch (rhel-7-server-rpms) ant = 1.9.4-2.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
Environment
- Red Satellite 6.4
- Red Satellite 6.3
- Red Hat Enterprise Linux 7.6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.