Upgrade Fedora 16 to Fedora 17 with Preupgrade – Screenshots

Fedora-vertical-logoThis is guide, howto upgrade Fedora 16 to Fedora 17 with Preupgrade. Preupgrade download needed packages from the server, set up everything ready and then reboot to Anaconda installer and after package installation it boots to the new system. It’s important backup your important files before upgrading.

If the aim is to update older versions of Fedora to Fedora 16, then each version have to be upgraded step by step:
Upgrade Fedora 13 to Fedora 14 with Preupgrade >>
Upgrade Fedora 14 to Fedora 15 with Preupgrade >>
Upgrade Fedora 15 to Fedora 16 with Preupgrade >>

If the Fedora version is older than Fedora 13 then I recommend Fedora 17 clean install. Also in other situations, a clean install may be sensible.

1. Upgrade Fedora 16 to Fedora 17 with Preupgrade

1.1 First start with updating all Fedora 16 packages with following command as root:

yum update

1.2 Install preupgrade as root

yum install preupgrade

1.3 Start preupgrade as root

preupgrade

1.4 Preupgrade information window

Preupgrade - Upgrade your system

1.5 Choose desired release

Fedora 16 Upgrade Your System

1.6 Preparing system for upgrade

Preparing system for upgrade

1.7 When ready to begin upgrade then reboot.

When ready to begin upgrade then reboot

1.8 Select Fedora Upgrade from Grub Menu

Select Fedora Upgrade from Grub Menu

1.9 Installing Fedora 17 packages

Upgrading to Fedora 17

Upgrading to Fedora 17

1.10 Fedora 17 starting with Grub 2

1.11 Booting just upgraded Fedora 17 system

Fedora 17 Booting

1.12 Fedora 17 login screen

Fedora 17 Login Screen

2. Fedora 17 “Beefy Miracle” desktop screenshots

Gnome Shell 3.4 plain

Fedora 17 Gnome Shell Plain

Gnome 3.4 Details

Fedora 17 Gnome 3.4.2 Details

2. Post-Upgrade Tasks

2.1 Remove unsupported packages

Get the list with following command:

package-cleanup --orphans

Then remove listed packages with following command:

yum remove package1 package2 ...

2.2 Check All .rpmsave and .rpmnew Files

You find these files with following command:

find / -print | egrep "rpmnew$|rpmsave$"

Depending on the differences between original and new files. You may need to manually merge new settings from new configuration files.

3. Troubleshooting

3.1 Not enough space on disk, check following tips

Free up space
Trick preupgrade into downloading the installer

4. Fedora 16 Verne Guides/Howtos

Follow If Not True Then False Updates!

27 Comments

  1. I used preupgrade to upgrade from fedor 16 to 17. The Virtualbox download was corrupt, and I can’t finish the upgrade. Then I can’t use the older system. So I can log on command line and use upgrade by yum. It was good, but the instalation was not god. So, i have to format.

    • Hi vinnyparker,

      So preupgrade download failed? And you tried to upgrade the system?

  2. its the third time that I tried to use preupgrade, and it broke my system.
    preupgrada failed to upgrade, I has 4 other kernels instaled, and only the old one, was working. In this one I log in a command line, use lynx to search how to upgrade using yum.
    I upgrade use yum, and them I can start the system. But was not 100% good, so I have to format everything.

    • I have used dozens of times preupgrade to upgrade my system and it has worked every time…btw. preupgrade is preferred method to upgrade Fedora.

      However, I hope you got your personal data restored. :)

  3. yes I keep my personal data for God Sake!!! but I’m very happy with fedora 17

    • Nice to hear. Yes Fedora 17 is excellent!

  4. hey guys. After all the above steps i logged in and the windows are not displayed normally. So i try to reboot and grub does not appear. it inform me to change the screen resolution but i can not boot. I try also supergrub2 and it cant find the os. it recognize just the windows disk whick can boot. why it cant recognize the linux fs? what have i done wrong? Probably it s not my fault but i dont know what I must do now.

    • Hi b10n1k,

      So you upgrade your Fedora 16 to Fedora 17 and logged in where?

  5. i logged into my account. i think the problem is the bootloader. Can i reinstall it?

    • finally i boot from a live cd and when i mounted the root partition i run grub2-install and grub2-mkconfig with the appropriate params and it fixed. just for anyone who is going to need it.

  6. thanks for this detailed procedure.it worked for me perfectly fine.i successfully upgraded from fedora 16 to 17.

  7. Thank you very much for this post. I was able to upgrade Fedora 16 to 17 successfully on VMware Workstation.

  8. Thanks, matey, worked first time! I didn’t even break sweat. Which was nice. At the risk of being pedantic, mind you, in section 2.2 I’d suggest using this instead:

    find / -regex ".*\(rpmnew\|rpmsave\)$"

    coz it’s cooler.

    • Hi Etch,

      Nice to hear that it worked!

      And yes your find command looks cool… ;D

  9. Are you sure about the advice to “yum remove” orphaned packages. When I went to yum remove zlib-1.2.5-7.fc16.x86_64 which was on my list it wanted to remove virtually everything on my system. Maybe you mean rep -e [package name] ? See also my question about this here:

    http://unix.stackexchange.com/questions/56142/fedora-16-to-fedora-17-post-upgrade-tasks

    • Oops…typo:

      rep -e [package name]

      should be:

      rpm -e [package name]

      • Argh..write-only blog comments…missed an option:

        rpm -e [package name] –nodeps

        • Hi Kev,

          Actually I don’t mean:

          rpm -e [package name] -nodeps

          Because many times it will break all dependencies. So that’s why yum remove is much better way. And yes, you did exactly right thing, when you see yum remove command deplist and hit ‘N’. Actually ModemManager and zlib packages, should be upgraded by Preupgrade, because there is also ModemManager and zlib packages on Fedora 17. You can verify this with following command on your Fedora 17:

          yum list all |grep -e ModemManager -e '^zlib.x86_64'

          It’s hard to say why Preupgrade keeps those Fedora 16 packages. I will try this upgrade process soon and update this guide and let you know if there is more elegant way to do this without using rpm -e [package name] -nodeps command…

          • Hi again Kev,

            I tested Preupgrade from Fedora 16 to Fedora 17 and here is what I got after upgrade process:

            [root@localhost ~]# package-cleanup --orphans
            Loaded plugins: presto, refresh-packagekit
            kernel-3.1.0-7.fc16.x86_64
            kernel-3.6.6-1.fc16.x86_64
            pyxf86config-0.3.37-10.fc15.x86_64
            telepathy-butterfly-0.5.15-4.fc16.noarch
             
             
            [root@localhost ~]# yum remove kernel-3.1.0-7.fc16.x86_64 kernel-3.6.6-1.fc16.x86_64 pyxf86config-0.3.37-10.fc15.x86_64 telepathy-butterfly-0.5.15-4.fc16.noarch
            Loaded plugins: langpacks, presto, refresh-packagekit
            Resolving Dependencies
            --> Running transaction check
            ---> Package kernel.x86_64 0:3.1.0-7.fc16 will be erased
            ---> Package kernel.x86_64 0:3.6.6-1.fc16 will be erased
            ---> Package pyxf86config.x86_64 0:0.3.37-10.fc15 will be erased
            ---> Package telepathy-butterfly.noarch 0:0.5.15-4.fc16 will be erased
            --> Finished Dependency Resolution
             
            Dependencies Resolved
             
            ====================================================================================
             Package              Arch    Version           Repository                     Size
            ====================================================================================
            Removing:
             kernel               x86_64  3.1.0-7.fc16      @koji-override-1/$releasever  111 M
             kernel               x86_64  3.6.6-1.fc16      installed                     124 M
             pyxf86config         x86_64  0.3.37-10.fc15    @koji-override-0/$releasever  155 k
             telepathy-butterfly  noarch  0.5.15-4.fc16     @updates/16                   385 k
             
            Transaction Summary
            ====================================================================================
            Remove  4 Packages
             
            Installed size: 235 M
            Is this ok [y/N]: 
             
             
             
            [root@localhost ~]# yum list all |grep -e ModemManager -e "^zlib.x86_64"
            ModemManager.x86_64                     0.6.0.0-1.fc17               @anaconda-0
            zlib.x86_64                             1.2.5-7.fc17                 @anaconda-0

            So ModemManager and zlib was upgraded normally. It’s very hard to say what has happened, because ModemManager and zlib packages should have been updated.

  10. while using preupgrade it shows the following error:
    “Failed to fetch release info.
    This could be caused by a missing network connection or a bad mirror.” Network connection is also fine. How do I get rid of this and can upgrade to Fedora 17 and then to Fedora 18.

  11. while using preupgrade it shows the following error:
    “No plugin match for: rpm-warm-cache
    No plugin match for: remove-with-leaves
    No plugin match for: auto-update-debuginfo
    Failed to fetch release info.
    This could be caused by a missing network connection or a bad mirror.” Network connection is also fine. How do I get rid of this and can upgrade to Fedora 17 and then to Fedora 18.

    • Hi Sumantra,

      PreUpgrade is not working, if you want upgrade Fedora 17 to Fedora 18. Check Upgrade Fedora 17 to Fedora 18 using FedUp.

      • Does the same command works for upgrading fedora 16 to fedora 17?

        • No, recommend upgrade method from Fedora 16 to Fedora 17 is PreUpgrade and from Fedora 17 to Fedora 18 it is FedUp.

  12. Loaded plugins: blacklist, langpacks, whiteout
    No plugin match for: rpm-warm-cache
    No plugin match for: remove-with-leaves
    No plugin match for: auto-update-debuginfo
    preupgrade-main (mirrorlist)
    url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=$basearch
    now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64
    preupgrade (mirrorlist)
    url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/17/Fedora/$basearch/os/
    now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/17/Fedora/x86_64/os/
    Cannot find a valid baseurl for repo: preupgrade

    Getting the above error while using preupgrade.

  13. Please note this is on Fedora 16, trying to upgrade to 17.

    • Hi Ashish,

      Both Fedora 16 and Fedora 17 are EOL versions. So there is not support anymore. So unfortunately looks like PreUpgrade is not working. You could try Fedora 16 to Fedora 17 EOL upgrade guide. The most important thing is backup everything important what you have, before do anything, because if something goes wrong, then it’s easy just install Fedora 20 directly and restore your files. Maybe even better choice is backup everything and make clean install of Fedora 20.

Add Comment Register



Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>