Ask Your Question

Partial update from fedora 19 to 20

asked 2014-03-31 02:49:20 -0500

Hari G gravatar image

updated 2014-03-31 02:52:24 -0500

I tried upgrading from Fedora 19 to Fedora 20 using the fedora-upgrade command. All the package downloads were successful, but during update, the process exited saying that there was insufficient disk space for the update to complete. So I cleaned up my disk and then tried again. This time, the upgrade proceeded, but for some reason, the installation of the kernel-devel package was going really slow (almost not progressing). After a long time, I killed the process (Ctrl +C was not working, so I did Ctrl +Z and then killed the fedora-upgrade process).

However, now, when I check /etc/issue the version is Fedora 20. A large number of packages are still from FC19. Also, the default kernel is still FC19.

$ rpm -qa | grep fc19 | wc -l

2319 packages have the fc19 suffix.

$ rpm -qa | grep fc20 | wc -l

2079 packages have the fc20 suffix.

$ uname -a

Linux localhost.localdomain 3.13.7-100.fc19.x86_64 #1 SMP Mon Mar 24 21:53:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/issue

Fedora release 20 (Heisenbug) Kernel \r on an \m (\l)

Now, I'm unable to use the fedora-upgrade tool either. The error is Upgrading from version 1920 is not supported.

Can anyone guide me on how to properly resume/redo the upgrade?

Regards Hari G

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-31 04:59:38 -0500

cobra gravatar image

There are several potential solutions, but because I don't really know the full situation I can only make suggesions. One of these may help.

First thing to try - completing any outstanding yum transactions:


if that doesn't resolve it, try re-running the update with the fedup tool:

fedup --network 20

If that doesn't work, then I'd be looking to just re-install because the system is in an unknown state. Re-installing on Linux is far less painful that certain commercial operating systems. Back up your home directory (and the home directory of any other users), make a note of your uid and gid for the local users (so you can restore the same numbers later - take a look in /etc/passwd and /etc/group) and, provided you're not running a server, just re-install from the fedora 20 network install iSO (download it and burn it - it's quite small) and boot up from it.

Some caveats:

The network install disk may be able to recover your system - it has a recovery option, but it may also struggle if your system is in an unknown state. If you've got a backup of your home directory, by all means give it a go.

Your home directory may be on a separate partition (depends how the installer originally set it up) and if so, you should be able to do the install and just re-use your home partition without re-formatting it. You'd have to select a manual partitioning scheme to make this happen, but its really just about telling the system to use your existing /home by mounting it in that same place. You should still back-up your home directory before you start.

If this is a server, then you may want to consider backing up any additional data for the services you're running, e.g. /var/mail if you're running an email server. Of course, you'd only be running these extra services if you know about them - i.e. if you installed them yourself. And if you did and you don't know where they store their data, it may slow down your backup process while you find out. But don't let it stop you doing the backup.

edit flag offensive delete link more


Thanks for your answer.

As per your suggestion, I'm trying "yum-complete-transaction" now. It found the incomplete transaction and is still running, but produces no output, except for saying that There are 1 outstanding transactions to complete. Finishing the most recent one The remaining transaction had 2610 elements left to run

Hari G gravatar imageHari G ( 2014-03-31 06:05:18 -0500 )edit

I tried both yum-complete-transaction and fedup, but both are failing. Looks like reinstall from a Fedora 20 disk seems to be the only option left.

Hari G gravatar imageHari G ( 2014-04-01 00:30:47 -0500 )edit

Sorry to resurrect an old post but I was able to recover from a failed upgrade with the help of this post plus some additional information.

The error was:

Upgrading from version 2120 is not supported.

I followed the example and used

$ rpm -qa | grep fc20 | wc -l

to list the number of packages from the old version of Fedora.

To automatically remove all the old packages I used

$ rpm -qa | grep fc20 | xargs dnf --assumeyes remove $s

The last part was to find and remove the fedora-release-20-4.noarch package

$ rpm -q fedora-release
$ rpm -e fedora-release-20-4.noarch
neuone gravatar imageneuone ( 2017-01-26 14:25:22 -0500 )edit

Question Tools


Asked: 2014-03-31 02:49:20 -0500

Seen: 417 times

Last updated: Mar 31 '14