Created
March 21, 2022 17:09
-
-
Save beka/bfeaf0df945609433019720568cfc044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#first let's migrate system to working CentOS 8 repos, we need to install "centos-release-stream" package | |
sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* | |
sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* | |
yum update | |
#Now we can migrate | |
sudo yum install centos-release-stream | |
sudo yum swap centos-linux-repos centos-stream-repos | |
sudo dnf distro-sync | |
#now you may reboot system |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment