ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved Upgrading Fedora 22 to 27

    IT Discussion
    7
    19
    2.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alex Sage
      last edited by Alex Sage

      Using the instructions here:

      https://fedoraproject.org/wiki/DNF_system_upgrade

      When running

      sudo dnf system-upgrade download --refresh --releasever=27
      

      I get this:

      warning: /var/lib/dnf/system-upgrade/libgudev-232-1.fc27.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f5282ee4: NOKEY
      Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-x86_64 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-27-x86_64]
      

      How do I resolve this?

      1 Reply Last reply Reply Quote 0
      • A
        Alex Sage
        last edited by

        Looks like the key is here:

        https://getfedora.org/keys/

        1 Reply Last reply Reply Quote 0
        • A
          Alex Sage
          last edited by Alex Sage

          Fixes it!

          rpm --import https://getfedora.org/static/F5282EE4.txt

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            It is not recommended to skip more than one release when performing a system upgrade.

            travisdh1T A 3 Replies Last reply Reply Quote 2
            • travisdh1T
              travisdh1 @JaredBusch
              last edited by

              @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!

              1 Reply Last reply Reply Quote 0
              • D
                DimS
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • D
                  Darek Hamann
                  last edited by

                  the key import command is

                  Code:
                  sudo rpm --import keyfilenamegoeshere

                  run 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

                  A 1 Reply Last reply Reply Quote 1
                  • A
                    Alex Sage @JaredBusch
                    last edited by

                    @jaredbusch I agree.

                    Unfortunately, this is for a lab, and Wholesale Internet only offers Fedora 22.

                    JaredBuschJ 1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @Alex Sage
                      last edited by

                      @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.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Alex Sage @Darek Hamann
                        last edited by

                        @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 🙂

                        JaredBuschJ 1 Reply Last reply Reply Quote 0
                        • A
                          Alex Sage @JaredBusch
                          last edited by

                          @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?

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @Alex Sage
                            last edited by

                            @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.

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Alex Sage @JaredBusch
                              last edited by Alex Sage

                              @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?

                              black3dynamiteB 1 Reply Last reply Reply Quote 0
                              • black3dynamiteB
                                black3dynamite @Alex Sage
                                last edited by

                                @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

                                1 Reply Last reply Reply Quote 1
                                • A
                                  Alex Sage @JaredBusch
                                  last edited by

                                  @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.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                                  • JaredBuschJ
                                    JaredBusch @Alex Sage
                                    last edited by

                                    @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.

                                    https://fedoraproject.org/wiki/DNF_system_upgrade#multi

                                    1 Reply Last reply Reply Quote 1
                                    • RojoLocoR
                                      RojoLoco
                                      last edited by

                                      Ummmm...... just add 5. Easy peasy.

                                      1 Reply Last reply Reply Quote 1
                                      • A
                                        Alex Sage
                                        last edited by Alex Sage

                                        🙂

                                        1 Reply Last reply Reply Quote 0
                                        • JaredBuschJ
                                          JaredBusch
                                          last edited by JaredBusch

                                          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.

                                          1 Reply Last reply Reply Quote -1
                                          • 1 / 1
                                          • First post
                                            Last post