Updating Fedora 25 to Fedora 26 with DNF
-
Pretty simple process. You can do it with just this:
dnf upgrade --refresh dnf install dnf-plugin-system-upgrade dnf system-upgrade download --refresh --releasever=26 dnf system-upgrade reboot
Works for Fedora 27 as well. Just change to --releasever=27
-
When I did mine last night, dnf-plugin-system-upgrade was already installed. Not really an issue, just made me wonder what I installed before that happened to grab that as a dependency.
-
I just did a reinstall instead of an upgrade.
-
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
-
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
Trying to upgrade Korora?
-
@black3dynamite said in Updating Fedora 25 to Fedora 26 with DNF:
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
Trying to upgrade Korora?
He is, and it is not updated yet.
-
@jaredbusch said in Updating Fedora 25 to Fedora 26 with DNF:
@black3dynamite said in Updating Fedora 25 to Fedora 26 with DNF:
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
Trying to upgrade Korora?
He is, and it is not updated yet.
That would definitely be a problem. Can't use Fedora update instructions for Korora. Wrong OS.
-
@scottalanmiller said in Updating Fedora 25 to Fedora 26 with DNF:
@jaredbusch said in Updating Fedora 25 to Fedora 26 with DNF:
@black3dynamite said in Updating Fedora 25 to Fedora 26 with DNF:
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
Trying to upgrade Korora?
He is, and it is not updated yet.
That would definitely be a problem. Can't use Fedora update instructions for Korora. Wrong OS.
Actually, you can, because the instructions are the same.
-
@scottalanmiller said in Updating Fedora 25 to Fedora 26 with DNF:
@jaredbusch said in Updating Fedora 25 to Fedora 26 with DNF:
@black3dynamite said in Updating Fedora 25 to Fedora 26 with DNF:
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
Trying to upgrade Korora?
He is, and it is not updated yet.
That would definitely be a problem. Can't use Fedora update instructions for Korora. Wrong OS.
According to Korora we can when it's ready.
https://kororaproject.org/support/documentation/upgrading-korora -
@black3dynamite said in Updating Fedora 25 to Fedora 26 with DNF:
@scottalanmiller said in Updating Fedora 25 to Fedora 26 with DNF:
@jaredbusch said in Updating Fedora 25 to Fedora 26 with DNF:
@black3dynamite said in Updating Fedora 25 to Fedora 26 with DNF:
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
sudo dnf system-upgrade download --refresh --releasever=26 ^ ... ... Import of key(s) didn't help, wrong key(s)? The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Public key for cinnamon-3.4.2-1.fc26.x86_64.rpm is not installedFailing package is: cinnamon-3.4.2-1.fc26.x86_64 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-26-x86_64
Trying to upgrade Korora?
He is, and it is not updated yet.
That would definitely be a problem. Can't use Fedora update instructions for Korora. Wrong OS.
According to Korora we can when it's ready.
https://kororaproject.org/support/documentation/upgrading-kororaYou can because, so far, Korora has not made anything require different instruction, but technically, you are following Korora instructions in that link. They just happen to be the same as Fedora.
-
The problem here is that Gene set the releasever to 26 when Korora is only up to 25. So it can't find what it needs as release 26 doesn't exist yet.
-
@scottalanmiller said in Updating Fedora 25 to Fedora 26 with DNF:
The problem here is that Gene set the releasever to 26 when Korora is only up to 25. So it can't find what it needs as release 26 doesn't exist yet.
Yes it is - and there is a 'semi' logical reason why.
There has been ongoing comparisons of Fedora and Korora, and how they are the 'same'.
Yes - they are,.. yet they are not. Korora is it's own fork - and has to be treated as such. It's not a fail - it's a learn why it didn't and now - how to clean up what was done.
sudo dnf clean all 97 files removed
sudo dnf --refresh upgrade Korora 25 - x86_64 96 kB/s | 213 kB 00:02 skype (stable) 16 kB/s | 2.6 kB 00:00 RPM Fusion for Fedora 25 - Nonfree 342 kB/s | 144 kB 00:00 Google Chrome 32 kB/s | 3.7 kB 00:00 RPM Fusion for Fedora 25 - Free - Updates 1.2 MB/s | 287 kB 00:00 RPM Fusion for Fedora 25 - Free 1.8 MB/s | 515 kB 00:00 Fedora 25 - x86_64 7.8 MB/s | 50 MB 00:06 RPM Fusion for Fedora 25 - Nonfree - Updates 295 kB/s | 40 kB 00:00 Fedora 25 - x86_64 - Updates 6.3 MB/s | 24 MB 00:03 Last metadata expiration check: 0:00:09 ago on Mon Jul 17 07:28:27 2017. Dependencies resolved. Nothing to do. Complete!
-
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
Yes it is - and there is a 'semi' logical reason why.
There has been ongoing comparisons of Fedora and Korora, and how they are the 'same'.
Yes - they are,.. yet they are not. Korora is it's own fork - and has to be treated as such. It's not a fail - it's a learn why it didn't and now - how to clean up what was done.
It is totally a fail. Just because one thing is based on another thing does not make them the same. They are still two different things.
-
@gjacobse said in Updating Fedora 25 to Fedora 26 with DNF:
Yes it is - and there is a 'semi' logical reason why.
There has been ongoing comparisons of Fedora and Korora, and how they are the 'same'.
Yes - they are,.. yet they are not. Korora is it's own fork - and has to be treated as such. It's not a fail - it's a learn why it didn't and now - how to clean up what was done.
It is not a fork, fork is a specific term for a specific type of code diversion. Example: LibreOffice is a fork of OpenOffice, once forked they don't come back together. Dragonfly is forked from FreeBSD, they are completely unrelated systems today. Mac OSX is also a fork of FreeBSD. Once forked, two systems are no longer related, their paths diverge (hence the term.)
Korora is a downstream OS built from Fedora. Each release of Korora comes from one of Fedora. They are not forked, but actively tied. A fork would be far worse. These two actively track changes from one to the other.
But that doesn't change the fact that Korora is a totally different OS that is not Fedora. Being "based on" Fedora doesn't make it Fedora. Just like how Mint is not Ubuntu is not Debian, yet each is based on the one before. Typically a Fedora package will run on Korora, but no guarantees.
-
Fedora 27 Server note: The server edition hasn't been released yet according to https://getfedora.org/en/server/download/.
Using @scottalanmiller's upgrade instructions, it happily goes to 27.
-
@travisdh1 said in Updating Fedora 25 to Fedora 26 with DNF:
Fedora 27 Server note: The server edition hasn't been released yet according to https://getfedora.org/en/server/download/.
Using @scottalanmiller's upgrade instructions, it happily goes to 27.
That has nothing to do with DNF upgrades.