Upgrading Virtualmin on CentOS 7.9 to AlmaLinux using ELevate

Question

Is it possible to ELevate out of the hole called CentOS 7.x when running Virtualmin? In this article, we’ll try.

Start with reading the instructions

https://wiki.almalinux.org/elevate/ELevating-CentOS7-to-AlmaLinux-9.html#migrate-centos-7-to-almalinux-8

Fix broken mirror

sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

Remove bad packages

This one:

yum remove libwebp7

and this one:

yum remove libzip (belongs to PHP 5.4)

Upgrade

leapp upgrade

Time Taken

Around two hour to three hours, one hour troubleshooting, one hour retrying, and one hour waiting.

Share this article

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top