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

    Updating Fedora 25 to Fedora 26 with DNF

    IT Discussion
    linux fedora fedora 25 fedora 26 dnf
    6
    16
    3.8k
    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.
    • scottalanmillerS
      scottalanmiller
      last edited by scottalanmiller

      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

      1 Reply Last reply Reply Quote 5
      • travisdh1T
        travisdh1
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • stacksofplatesS
          stacksofplates
          last edited by stacksofplates

          I just did a reinstall instead of an upgrade.

          1 Reply Last reply Reply Quote 0
          • gjacobseG
            gjacobse
            last edited by

            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
            
            black3dynamiteB 1 Reply Last reply Reply Quote 0
            • black3dynamiteB
              black3dynamite @gjacobse
              last edited by

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

              JaredBuschJ 1 Reply Last reply Reply Quote 2
              • JaredBuschJ
                JaredBusch @black3dynamite
                last edited by

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

                scottalanmillerS 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @JaredBusch
                  last edited by

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

                  JaredBuschJ black3dynamiteB 2 Replies Last reply Reply Quote 1
                  • JaredBuschJ
                    JaredBusch @scottalanmiller
                    last edited by

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

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

                      @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

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

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

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

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          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.

                          gjacobseG 1 Reply Last reply Reply Quote 2
                          • gjacobseG
                            gjacobse @scottalanmiller
                            last edited by

                            @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!
                            
                            JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 1
                            • JaredBuschJ
                              JaredBusch @gjacobse
                              last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • scottalanmillerS
                                scottalanmiller @gjacobse
                                last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • travisdh1T
                                  travisdh1
                                  last edited by

                                  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.

                                  JaredBuschJ 1 Reply Last reply Reply Quote 1
                                  • JaredBuschJ
                                    JaredBusch @travisdh1
                                    last edited by

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

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