I'm trying to update a couple of really old servers from CentOS 7 and Oracle Linux 7 to Oracle Linux 8 using the instructions here:
https://blogs.oracle.com/scoter/post/upgrade-centos-7-to-oracle-linux-8
However, the leapp preupgrade step keeps hitting the same inhibitor / error, that it wants libguestfs from the OL8 repo, but it can't install it because there's a dependency on btrfs-progs:
============================================================ ERRORS ============================================================ 2025-03-22 15:50:09.829739 [ERROR] Actor: dnf_transaction_check Message: DNF execution failed with non zero exit code. Summary: Stdout: Last metadata expiration check: 0:02:04 ago on Sat Mar 22 15:46:39 2025. Stderr: Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/leapp/el8userspace//sys/fs/selinux: Read-only file system No matches found for the following disable plugin patterns: subscription-manager Warning: Package marked by Leapp to install not found in repositories metadata: python3-botocore python3-s3transfer Warning: Package marked by Leapp to upgrade not found in repositories metadata: gpg-pubkey leapp leapp-upgrade-el7toel8 python2-leapp Transaction check: Problem: package libguestfs-1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8.x86_64 from ol8_appstream requires (libguestfs-appliance = 1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8 or libguestfs-noappliance), but none of the providers can be installed - package python3-libguestfs-1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8.x86_64 from ol8_appstream requires libguestfs(x86-64) = 1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8, but none of the providers can be installed - package libguestfs-appliance-1:1.44.0-9.0.2.module+el8.9.0+90052+d3bf71d8.x86_64 from ol8_appstream requires btrfs-progs, but none of the providers can be installed - cannot install the best candidate for the job - conflicting requests Things I tried:
- I started on CentOS 7, switched to the vault repos, updated everything, but still got the same error.
- I used centos2ol.sh to migrate over to Oracle Linux 7, then updated everything, but still get the same issue.
- I have btrfs-progs installed (5.12.1-1.el7):
$ sudo yum list installed | grep -i "btrfs" btrfs-progs.x86_64 5.12.1-1.el7 @ol7_UEKR6 - I tried removing btrfs-progs completely, but same result.
- I tried installing libguestfs separately, but same result.
It seems like it's trying to install it from the OL8 repos but can't find it there, which doesn't make sense. I have another server running OL8, which doesn't even have btrfs-progs installed at all, but yum reports it as being in the ol8_baseos_latest repo.
I don't have any btrfs filesystems, either - I'm assuming this is some kind of temporary piece being installed to support the upgrade, but I feel like I'm missing something simple here, and would appreciate another pair of eyes.