Leapp utility preupgrade check fails on Red Hat Satellite 6.11 with STDERR: Warning: Package marked by Leapp to install not found in repositories metadata
Environment
- Red Hat Satellite 6.11
Issue
- Leapp utility preupgrade check fails on Red Hat Satellite or Capsule 6.11 if
module_hotfixes=1is not added in Satellite or Capsule repository file.
Resolution
-
As a workaround of This content is not included.Bug 2089887, follow below steps:
-
Run
# subscription-manager repo-override --repo=satellite-6.11-for-rhel-8-x86_64-rpms --add=module_hotfixes:1on Satellite machine. -
Run
# subscription-manager repo-override --repo=satellite-capsule-6.11-for-rhel-8-x86_64-rpms --add=module_hotfixes:1on external Capsule machine.
-
-
For more KB articles/solutions related to Red Hat Satellite 6.x LEAPP Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x LEAPP Issues
Root Cause
- This issue was fixed in RHBA-2022:6141
Diagnostic Steps
-
Below error trace is seen while running leapp preupgrade check:
# leapp preupgrade ... STDERR: Warning: Package marked by Leapp to install not found in repositories metadata: rubygem-foreman_remote_execution rubygem-smart_proxy_dynflow rubygem-foreman-tasks rubygem-foreman_theme_satellite rubygem-smart_proxy_ansible rubygem-foreman_templates rubygem-hammer_cli_foreman_remote_execution rubygem-foreman_openscap rubygem-hammer_cli_katello rubygem-smart_proxy_remote_execution_ssh rubygem-foreman_hooks rubygem-smart_proxy_pulp rubygem-hammer_cli_foreman_virt_who_configure rubygem-hammer_cli_foreman_openscap rubygem-katello python38-pulp-certguard postgresql-evr rubygem-hammer_cli_foreman_ansible rubygem-hammer_cli_foreman_admin rubygem-foreman_rh_cloud rubygem-smart_proxy_openscap rubygem-foreman_virt_who_configure rubygem-hammer_cli python38-pulpcore rubygem-hammer_cli_foreman_azure_rm rubygem-foreman_azure_rm rubygem-foreman_bootdisk python38-pulp-container rubygem-hammer_cli_foreman_templates rubygem-hammer_cli_foreman_bootdisk rubygem-foreman_webhooks rubygem-hammer_cli_foreman_tasks python38-pulp-ansible rubygem-smart_proxy_discovery rubygem-hammer_cli_foreman_webhooks rubygem-foreman_leapp rubygem-hammer_cli_foreman_discovery rubygem-foreman_discovery python38-pulp-rpm rubygem-smart_proxy_dynflow_core log4j12 rubygem-hammer_cli_foreman rubygem-foreman_ansible python38-pulp-file Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp python2-leapp Transaction check: Problem 1: package foreman-installer-katello-1:3.1.2.6-1.el7sat.noarch requires katello-certs-tools, but none of the providers can be installed - package katello-certs-tools-2.9.0-1.el7sat.noarch requires python-setuptools, but none of the providers can be installed - conflicting requests - package katello-certs-tools-2.9.0-1.el8sat.noarch is filtered out by modular filtering Problem 2: package rubygem-foreman_maintain-1:1.0.10-1.el7sat.noarch requires rh-postgresql12-postgresql-syspaths, but none of the providers can be installed - package rh-postgresql12-postgresql-syspaths-12.9-1.el7.x86_64 requires rh-postgresql12-runtime, but none of the providers can be installed - conflicting requests Problem 3: package katello-4.3.0-2.el7sat.noarch requires candlepin >= 2.0, but none of the providers can be installed - package candlepin-4.1.13-1.el7sat.noarch requires /usr/bin/python, but none of the providers can be installed - conflicting requests - package candlepin-4.1.13-1.el8sat.noarch is filtered out by modular filtering Problem 4: package foreman-installer-1:3.1.2.6-1.el7sat.noarch requires rh-ruby27-ruby(release), but none of the providers can be installed - package rh-ruby27-ruby-libs-2.7.4-130.el7.x86_64 requires rh-ruby27-runtime, but none of the providers can be installed - conflicting requests Problem 5: package foreman-installer-katello-1:3.1.2.6-1.el7sat.noarch requires katello-certs-tools, but none of the providers can be installed - package katello-certs-tools-2.9.0-1.el7sat.noarch requires python-setuptools, but none of the providers can be installed - package satellite-installer-6.11.0.7-1.el7sat.noarch requires foreman-installer-katello >= 3.14.0, but none of the providers can be installed - package python-setuptools-0.9.8-7.el7.noarch requires python-backports-ssl_match_hostname, but none of the providers can be installed - conflicting requests - package katello-certs-tools-2.9.0-1.el8sat.noarch is filtered out by modular filtering - package foreman-installer-katello-1:3.1.2.6-1.el8sat.noarch is filtered out by modular filtering ============================================================ END OF ERRORS ============================================================
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.