Last active
August 29, 2015 14:22
-
-
Save achristodoulou/c4b1360e47ef499c0307 to your computer and use it in GitHub Desktop.
Upgrade Fedora 21 to 22
This file contains hidden or 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
#Update any packages | |
$ yum update | |
#Upgrade to Fedora 22 | |
$ clear && \ | |
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-22-$(uname -i) && \ | |
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-fedora-22 && \ | |
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-nonfree-fedora-22 && \ | |
yum -y update yum* && \ | |
yum clean all && \ | |
yum -y --releasever=22 distro-sync | |
#Resolve rpm differences, during upgrade if any configuration files could not be replaced with new ones will be mark as rpmnew and old #deleted packages configurations will be as rpmsave. Just copy/paste you conf changes to the rpmnew and then replace it. | |
$ find / -type f -name "*.rpmsave" -o -name "*.rpmnew" | |
$ reboot | |
#yum is now "dnf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment