Ask Your Question

Error during upgrade from 21 to 22

asked 2015-11-13 10:55:30 -0500

jlaforge gravatar image


After the fedup network is done successfully

sudo fedup --network 22


Terminé !
Download complete! Use 'dnf system-upgrade reboot' to start the upgrade.

And reboot, I still didn't see the "System Upgrade" into my grub menu.

Into the wiki ( ), I found this :

Remark: If the System Upgrade item is not shown in the grublist at boot, it is most often caused by having an incompatible grub, most often installed by another Linux distribution you may have in your multiboot environment. To correct this quickly: reinstall grub: grub2-mkconfig -o /boot/grub2/grub.cfg grub2-install /dev/sda (replace /dev/sda by any other device you prefer to boot from)

I didn't install anything else on this workstation (except fedora).

Anyway, I try to execute it :

sudo grub2-mkconfig -o /boot/grub2/grub.cfg 
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.1.12-101.fc21.x86_64
Found initrd image: /boot/initramfs-4.1.12-101.fc21.x86_64.img
Found linux image: /boot/vmlinuz-4.1.10-100.fc21.x86_64
Found initrd image: /boot/initramfs-4.1.10-100.fc21.x86_64.img
Found linux image: /boot/vmlinuz-4.1.8-100.fc21.x86_64
Found initrd image: /boot/initramfs-4.1.8-100.fc21.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-19cfb38c1eac4c7ba23c94ff4fc62eb7
Found initrd image: /boot/initramfs-0-rescue-19cfb38c1eac4c7ba23c94ff4fc62eb7.img

sudo  grub2-install /dev/sda 
grub2-install : erreur : /usr/lib/grub/x86_64-efi/ n'existe pas. Veuillez utiliser --target ou --directory.

The "System Upgrade" still not visible into grub menu.

What's going wrong?

Thx in adv Regard

edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted

answered 2015-11-13 17:38:32 -0500

sergiomb gravatar image

Install dnf-plugin-system-upgrade package:

$ sudo dnf install dnf-plugin-system-upgrade

Download the updated packages:

$ sudo dnf system-upgrade download --releasever=23

Change the --releasever= number if you want to upgrade to a different system release. Most people will want to upgrade to the latest stable release, which is 23, but if you're running Fedora 21, you might want to upgrade just to Fedora 22. You can also use 24 for upgrading to Branched or rawhide for upgrading to Rawhide (warning: those are not stable releases).

If some of your packages have unsatisfied dependencies, the upgrade will refuse to continue until you run it again with an extra --allowerasing option. This often happens with packages installed from third-party repositories for which an updated repositories hasn't been yet published. Please study very careful the output and examine which packages are going to be removed. None of them should be essential for system functionality, but some of them might be important for your productivity. In case of unsatisfied dependencies, you can sometimes see more details if you add --best option to the command line.

Trigger the upgrade process:

$ sudo dnf system-upgrade reboot

edit flag offensive delete link more

answered 2015-11-13 11:50:06 -0500

1/ First, as mentioned in the wiki page you provided :

FedUp is now obsolete and should not be used in any circumstances.

2/ Could you confirm you boot in bios mode (not efi) ?

grub2-install : erreur : /usr/lib/grub/x86_64-efi/ n'existe pas.

3/ Installation with dnf-plugin-system-upgrade :

  • Update your system first.
  • Do a backup if you want.
  • Follow these recommended steps (from Fedora 21)
  • After installing, visit this page first for any bugs.
  • Check if the directory /var/cache/system-upgrade is empty (used by fedup).
edit flag offensive delete link more

answered 2015-11-13 11:18:05 -0500

aeperezt gravatar image

You can also upgrade using Yum using this procedure

edit flag offensive delete link more

answered 2015-11-16 06:34:18 -0500

jlaforge gravatar image

Thx you all, I use dnf process given by sergiomb, and that works.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-11-13 10:55:30 -0500

Seen: 325 times

Last updated: Nov 16 '15