Open vandah opened 3 years ago
I think you should update to centos 8.5 first and then run the migration script.
from Rocky Docs:
Did you modify the repos to point to a local repo, perhaps with a different name other than baseos?
Where did you get the install isos from? This doesn't look to be a stock CentOS 8 install.
I'm facing the same issue. Did you ever resolve this? And if so, how?
I'm facing the same issue.
I am having the same problem as well.
Me too.
Server (VM) was created from official ISO. Was updated to 8.5.2111 Does indeed use modified repo config because server is behind a firewall and does not have internet access. Repos are mirrored on a local server.
Same issue here, anybody fixed?
If you're trying to migrate from CentOS Stream 8 please see #215 as it's a known issue and there is a workaround until it can be fixed.
For migrations from CentOS Linux 8 (Not Stream) please post your migrate2rocky.log file.
你只要使用原版的yum.repos.d就不会出这个问题了,恶心了我很久这问题,你可以虚拟机中先从8.2升级到了8.5.2111,然后把里面的yum.repos.d拷贝出来,替换报有问题的机器上的yum.repos.d,然后执行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-,然后yum update -y --allowerasing,然后再运行migrate2rocky.sh就没问题了
(translated) If you just use the original yum.repos.d, this problem will not occur. This problem has disgusted me for a long time. You can upgrade from 8.2 to 8.5.2111 in the virtual machine, then copy the yum.repos.d in it, replace the yum.repos.d on the machine with the problem, and then execute 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-, then yum update -y --allowerasing, and then run migrate2rocky.sh. There will be no problem.
The issue has been fixed in the latest update of migrate2rocky. Please let me know if there's still issues.
I tried running the
migrate2rocky
tool but arrived at the following error:This is right after running the CentOS 8 (8.3.2011) installation and rebooting. I also tried with: CentOS 8.4.2105 and AlmaLinux 8.4 (all originally from the same ISO file) and got the same results.
More details: