Solved Upgrading Fedora 22 to 27
-
Looks like the key is here:
-
Fixes it!
rpm --import https://getfedora.org/static/F5282EE4.txt
-
It is not recommended to skip more than one release when performing a system upgrade.
-
@jaredbusch said in Upgrading Fedora 22 to 27 - Missing PGP Key:
It is not recommended to skip more than one release when performing a system upgrade.
Yep. Staying up to date is important....
A past self had let a Fedora 12 install go without a system update till 16 was out, and I ended up having to wipe and reinstall instead of update. Don't do that to yourself!
-
This post is deleted! -
the key import command is
Code:
sudo rpm --import keyfilenamegoeshererun it from the directory you saved the key file to, the F27 key won't exist on your system since it is over 3 versions old
you should then be able to upgrade from Fedora 22 straight to Fedora 27 using the dnf system upgrade tool. you may however need to add the commands --allowerasing and --nogpgcheck (read the notes in the wiki regarding the obvious security risk of doing this, it's your choice entirely to use it or not) if errors still persist. check carefully what packages are preventing the upgrade though in the output from the commands run
-
@jaredbusch I agree.
Unfortunately, this is for a lab, and Wholesale Internet only offers Fedora 22.
-
@aaronstuder said in Upgrading Fedora 22 to 27 - Missing PGP Key:
@jaredbusch I agree.
Unfortunately, this is for a lab, and Wholesale Internet only offers Fedora 22.
That has nothing to do with you upgrading directly.
You could easily upgrade point by point.
-
@darek-hamann said in Upgrading Fedora 22 to 27 - Missing PGP Key:
you should then be able to upgrade from Fedora 22 straight to Fedora 27 using the dnf system upgrade tool.
It worked
-
@jaredbusch said in Upgrading Fedora 22 to 27 - Missing PGP Key:
That has nothing to do with you upgrading directly.
You could easily upgrade point by point.
Ah, I see so go 23, 24, 25, 26, 27?
-
@aaronstuder said in Upgrading Fedora 22 to 27 - Missing PGP Key:
@darek-hamann said in Upgrading Fedora 22 to 27 - Missing PGP Key:
you should then be able to upgrade from Fedora 22 straight to Fedora 27 using the dnf system upgrade tool.
It worked
You were lucky. That something worked does not not mean it is correct.
-
@jaredbusch said in Upgrading Fedora 22 to 27 - Missing PGP Key:
You were lucky. That something worked does not not mean it is correct.
Excellent Point. Any suggestions on how to check to make sure everything is good?
-
@aaronstuder said in Upgrading Fedora 22 to 27 - Missing PGP Key:
@jaredbusch said in Upgrading Fedora 22 to 27 - Missing PGP Key:
You were lucky. That something worked does not not mean it is correct.
Excellent Point. Any suggestions on how to check to make sure everything is good?
The first thing for me would be SELinux warnings and third-party repository.
This might provide you with some information to look for.
https://fedoraproject.org/wiki/DNF_system_upgrade -
@jaredbusch said in Upgrading Fedora 22 to 27 - Missing PGP Key:
It is not recommended to skip more than one release when performing a system upgrade.
Where did you read that?
With that in mind, if you do have an end-of-life release newer than Fedora 20 installed on a system you cannot just discard or re-deploy, you can attempt to upgrade it, though this is a less-tested and less-supported operation. You can try to upgrade through intermediate releases until you reach a currently-supported release, or try to upgrade to a currently-supported release in a single operation. It is not possible to state with certainty which approach is more likely to be successful.
-
@aaronstuder said in Upgrading Fedora 22 to 27 - Missing PGP Key:
@jaredbusch said in Upgrading Fedora 22 to 27 - Missing PGP Key:
It is not recommended to skip more than one release when performing a system upgrade.
Where did you read that?
With that in mind, if you do have an end-of-life release newer than Fedora 20 installed on a system you cannot just discard or re-deploy, you can attempt to upgrade it, though this is a less-tested and less-supported operation. You can try to upgrade through intermediate releases until you reach a currently-supported release, or try to upgrade to a currently-supported release in a single operation. It is not possible to state with certainty which approach is more likely to be successful.
-
Ummmm...... just add 5. Easy peasy.
-
-
There are multiple guides here to do this. And again jumping more than a single version is not the proper way to handle it. Even if it works.