I am trying to migrate from centos 8.5.2111 to Rocky 8 by using the script: https://raw.githubusercontent.com/rocky-linux/rocky-tools/main/migrate2rocky/migrate2rocky.sh but I got this error:
migrate2rocky - Begin logging at dom 16 jul 2023 21:14:43 -05.
Removing dnf cache
Preparing to migrate CentOS Linux 8 to Rocky Linux 8.
Determining repository names for CentOS Linux 8......
Found the following repositories which map from CentOS Linux 8 to Rocky Linux 8:
CentOS Linux 8 Rocky Linux 8
appstream appstream
baseos baseos
extras extras
Getting system package names for CentOS Linux 8
Found a full or partial RockyLinux install already in place. Aborting
An error occurred while we were attempting to convert your system to Rocky Linux. Your system may be unstable. Script will now exit to prevent possible damage.
A log of this installation can be found at /var/log/migrate2rocky.log
Actually I applied all these steps to try to solve the issue, as is mentioned in https://docs.linuxfabrik.ch/operating-systems/rockylinux.html but it doesn’t work, the error persists.
cd /tmp
Example for CentOS 8.5
AppStream:
wget http://vault.centos.org/centos/8.5.2111/AppStream/x86_64/os/Packages/centos-backgrounds-85.8-2.el8.noarch.rpm
wget http://vault.centos.org/centos/8.5.2111/AppStream/x86_64/os/Packages/centos-logos-ipa-85.8-2.el8.noarch.rpm
BaseOS:
wget http://vault.centos.org/centos/8.5.2111/BaseOS/x86_64/os/Packages/centos-gpg-keys-8-3.el8.noarch.rpm
wget http://vault.centos.org/centos/8.5.2111/BaseOS/x86_64/os/Packages/centos-indexhtml-8.0-0.el8.noarch.rpm
wget http://vault.centos.org/centos/8.5.2111/BaseOS/x86_64/os/Packages/centos-linux-release-8.5-1.2111.el8.noarch.rpm
wget http://vault.centos.org/centos/8.5.2111/BaseOS/x86_64/os/Packages/centos-linux-repos-8-3.el8.noarch.rpm
wget http://vault.centos.org/centos/8.5.2111/BaseOS/x86_64/os/Packages/centos-logos-85.8-2.el8.x86_64.rpm
wget http://vault.centos.org/centos/8.5.2111/BaseOS/x86_64/os/Packages/centos-logos-httpd-85.8-2.el8.noarch.rpm
rpm -Uvh --force centos-*.rpm
this removes all rocky stuff:
dnf -y remove rocky-gpg-keys
rm -f /etc/yum.repos.d/Rocky*
dnf clean all
Could you help me please?