Last active
February 8, 2022 22:48
-
-
Save oakaigh/0fb0b0a0105073217b06a9b861aef9c2 to your computer and use it in GitHub Desktop.
CentOS Stream 8 to 9 Upgrade
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
#!/usr/bin/env bash | |
sudo dnf -y --disablerepo epel-modular install http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os/Packages/centos-{gpg-keys,stream-{release,repos}}-9.0-9.el9.noarch.rpm | |
sudo dnf -y --disablerepo epel-modular --nogpgcheck upgrade epel-release | |
sudo dnf -y --releasever=9 --allowerasing --setopt=deltarpm=false distro-sync | |
sudo rpmdb --rebuilddb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment