TrevorH wrote: ↑2022/01/31 20:37:35
The correct and easy way to migrate from CentOS Linux 8 to CentOS Stream 8 is to run:
Code: Select all
dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
dnf distro-sync
[Edited with the v2 version of how to...]
Hi,
you have missed the most important the links dont work any more
So the initial step is
Change url to vault
Else you will have
[root@srv1 ~]# dnf update
CentOS Linux 8 - AppStream 271 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
[root@srv1 ~]# dnf --disablerepo '*' --enablerepo=extras swap centos-linux-repos centos-stream-repos
CentOS Linux 8 - Extras 40 kB/s | 1.5 kB 00:00
CentOS Linux 8 - Extras 254 kB/s | 10 kB 00:00
Modular dependency problems:
Problem 1: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-DBI:1.641:8030020200716150652:1e4bbb35-0.x86_64
Problem 2: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-IO-Socket-SSL:2.066:8030020201222215140:1e4bbb35-0.x86_64
Problem 3: conflicting requests
- nothing provides module(perl:5.26) needed by module perl-libwww-perl:6.34:8030020201223164340:b967a9a2-0.x86_64
Error:
Problem 1: conflicting requests
- nothing provides centos-gpg-keys = 1:8-3.el8 needed by centos-stream-repos-8-3.el8.noarch
Problem 2: package centos-linux-release-8.4-1.2105.el8.noarch requires centos-repos(8), but none of the providers can be installed
- conflicting requests
- problem with installed package centos-linux-release-8.4-1.2105.el8.noarch
- nothing provides centos-gpg-keys = 1:8-3.el8 needed by centos-stream-repos-8-3.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
and will crash if you try to continue
after that you can proceed with one option or another