RHEL7: "leapp preupgrade" fails with message "Unable to use yum successfully"
Issue
-
When executing "leapp preupgrade" or "leapp upgrade", the following message is displayed:
[ERROR] Actor: target_userspace_creator Message: Unable to use yum successfully Summary: Details: Command ['systemd-nspawn', '--register=no', '--quiet', '-D', '/var/lib/leapp/scratch/mounts/root_/system_overlay', '--bind=/etc/hosts:/etc/hosts', '--setenv=..., 'yum', 'clean', 'all'] failed with exit code 1. Stderr: Host and machine ids are equal (XXX): refusing to link journals There are no enabled repos. Run "yum repolist all" to see the repos you have. To enable Red Hat Subscription Management repositories: subscription-manager repos --enable <repo> To enable custom repositories: yum-config-manager --enable <repo>
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux 7
- leapp
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.