Leapp In-Place Upgrade: how to check DNF is working with the Satellite repositories from the client side?

Solution Verified - Updated -

Issue

leapp fails with "Unable to install RHEL 8 userspace packages".

2022-09-19 13:33:16.333 DEBUG    PID: 18908 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: No match for argument: dnf
2022-09-19 13:33:16.340 DEBUG    PID: 18908 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: No match for argument: dnf-command(config-manager)
2022-09-19 13:33:16.347 DEBUG    PID: 18908 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: Error: Unable to find a match: dnf dnf-command(config-manager)
2022-09-19 13:33:16.387 DEBUG    PID: 18908 leapp.workflow.TargetTransactionFactsCollection.target_userspace_creator: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root_/system_overlay', ..., 'dnf', 'install', '-y', '--nogpgcheck', '--setopt=module_platform_id=platform:el8', '--setopt=keepcache=1', '--releasever', u'8.6', '--installroot', '/el8target', '--disablerepo', '*', '--enablerepo', u'rhel-8-for-x86_64-baseos-rpms', '--enablerepo', u'codeready-builder-for-rhel-8-x86_64-rpms', '--enablerepo', u'rhel-8-for-x86_64-appstream-rpms', 'dnf', 'dnf-command(config-manager)', '-v'] failed with exit code 1.

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 7.9
  • leapp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content