centos8 – Errors found in dnf/rpm database while migrating CentOS to Rocky Linux
While following the instructions here to migrate CentOS to Rocky Linux, I get the following log.
migrate2rocky - Begin logging at Thursday 10 April 2025 12:04:52 PM IST.
./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 6 problem(s)
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
kernel-devel-3.10.0-957.12.2.el7.x86_64 is a duplicate with kernel-devel-3.10.0-1160.114.2.el7.x86_64
kernel-devel-3.10.0-957.12.2.el7.x86_64 is a duplicate with kernel-devel-3.10.0-1160.119.1.el7.x86_64
kernel-devel-3.10.0-957.12.2.el7.x86_64 is a duplicate with kernel-devel-3.10.0-1160.90.1.el7.x86_64
kernel-devel-3.10.0-957.12.2.el7.x86_64 is a duplicate with kernel-devel-3.10.0-957.21.3.el7.x86_64
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.
Is there something I can try. Thanks.
Read more here: Source link
