[ELevate] AlmaLinux 9 to 10 Upgrade Failed – Mixed Repositories, RPM DB Rebuild, and Leapp Errors
Hello everyone,
I’ve been trying to upgrade my DirectAdmin server from AlmaLinux 9.6 (Sage Margay) to AlmaLinux 10 using the ELevate / Leapp tool, but the process became very complicated and eventually failed.
Here’s a summary of what happened:
At this point, I decided to stop the upgrade and restore from my AlmaLinux 9 snapshot, because it’s no longer safe or stable to continue.
The server technically works, but it’s not a clean upgrade environment anymore.
Has anyone here successfully upgraded DirectAdmin + Imunify360 servers from AlmaLinux 9 → 10?
If yes, what was your exact step-by-step process?
Did you have to manually create AlmaLinux 10 repos, or did ELevate handle that automatically?
Any guidance or working example would be appreciated — I’d rather prepare a clean 9.6 → 10 migration path than risk breaking production again.
Thanks in advance!
– Can
Hello everyone,
I’ve been trying to upgrade my DirectAdmin server from AlmaLinux 9.6 (Sage Margay) to AlmaLinux 10 using the ELevate / Leapp tool, but the process became very complicated and eventually failed.
Here’s a summary of what happened:
- I started the upgrade with the usual leapp preupgrade and leapp upgrade steps.
- The first problem appeared with duplicate YUM/DNF repositories and unsupported upgrade warnings.
- I manually disabled several Imunify360 rollout repos and created custom .repo files for AlmaLinux 10 BaseOS and AppStream.
- DNS resolution failed multiple times during the process (Curl error 6 - couldn’t resolve host repo.almalinux.org), so I had to manually add Google DNS entries to /etc/resolv.conf.
- Later, the RPM database got corrupted and I had to rebuild it manually using:
systemctl stop packagekit
rm -f /var/lib/rpm/__db*
rpm --rebuilddb -v
- After that, dnf started working again, but the Leapp upgrade stopped several times with messages like:
- “Upgrade is unsupported”
- “Unable to install RHEL 10 userspace packages”
- “A YUM/DNF repository defined multiple times”
- “Actor rpm_scanner unexpectedly terminated with exit code 1”
- Even after running with:
LEAPP_UNSUPPORTED=1 LEAPP_UNSUPPORTED_INHIBITOR=1 LEAPP_DEVEL_SKIP_RHSM=1 leapp upgrade --reboot
…the system never actually created the leapp-upgrade initramfs, and the GRUB menu didn’t show any upgrade option.
- After several attempts, the system became a hybrid between EL9 and EL10 packages — some updated (rpm, python3, systemd) but others still from EL9.
Network and repository configurations were partially broken, and dnf metadata conflicted.
At this point, I decided to stop the upgrade and restore from my AlmaLinux 9 snapshot, because it’s no longer safe or stable to continue.
The server technically works, but it’s not a clean upgrade environment anymore.
Has anyone here successfully upgraded DirectAdmin + Imunify360 servers from AlmaLinux 9 → 10?
If yes, what was your exact step-by-step process?
Did you have to manually create AlmaLinux 10 repos, or did ELevate handle that automatically?
Any guidance or working example would be appreciated — I’d rather prepare a clean 9.6 → 10 migration path than risk breaking production again.
Thanks in advance!
– Can