Centos 8.5.2111 to RockyLinux 8 migration failed

Dear all,

I am trying to migrate to RockyLinux 8:

[root@hpc1 ~]# bash migrate2rocky.sh -r

The output log (/var/log/migrate2rocky.log) shows the following:

======================================

migrate2rocky - Begin logging at Sun 11 Dec 2022 08:50:12 AM +0330.

migrate2rocky.sh: line 133: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory
migrate2rocky.sh: line 133: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
Failed to set locale, defaulting to C
Error: Check discovered 7 problem(s)
hypervkvpd-0-0.34.20180415git.el7.x86_64 has missing requires of kernel >= 3.10.0-384.el7
hypervvssd-0-0.34.20180415git.el7.x86_64 has missing requires of kernel >= 3.10.0-384.el7
initscripts-9.49.53-1.el7_9.1.x86_64 has missing requires of sysvinit-tools >= 2.87-5
iprutils-2.4.17.1-3.el7_7.x86_64 has missing requires of /sbin/pidof
lldpad-1.0.1-7.git036e314.el7_9.x86_64 has missing requires of kernel >= 2.6.32
redhat-lsb-core-4.1-27.el7.centos.1.x86_64 has missing requires of /sbin/pidof
systemtap-devel-4.0-13.el7.x86_64 has missing requires of kernel-devel-uname-r

Errors found in dnf/rpm database. Please correct before running migrate2rocky.

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.

=================================

Can anyone direct me on what to do?

Thanks

All those packages have “el7”. CentOS Linux 8 never had any “el7” packages. Rocky 8 does not have any “el7” packages.

Have you perhaps in-place converted CentOS 7 into CentOS 8? An operation that was never supported.

Yes, the system has been upgraded from CentOS7 to CentOS8. Is it possible to migrate to Rocky?

You can “migrate” to Rocky by just installing it clean, and then copy back any user data, but it’s unlikely that you can “upgrade” the existing system to Rocky in a safe and meaningful way, and it’s not supported anyway.