Description of problem:
Can't upgrade from F27->28 because of shim install failure using Gnome Package Manager
Version-Release number of selected component (if applicable): Fedora-27 with all available updates applied
How reproducible: Always.
Steps to Reproduce:
1. Open Gnome Package Manager, go to the Updates tab
2. Click on download Fedora 28 upgrade
3. This fails with a shim error.
journald shows the following failures:
failed to call gs_plugin_app_upgrade_download on packagekit-upgrade: Error running transaction: installing package shim-x64-13-4.x86_64 needs 583680 on the /boot/efi filesystem
May 01 20:56:26 achiles.home.lan PackageKit: upgrade-system transaction /6576_eedadcce from uid 1000 finished with failed after 4727ms
May 01 20:56:26 achiles.home.lan gnome-software: failed to call gs_plugin_app_upgrade_download on packagekit-upgrade: Error running transaction: installing package shim-x64-13-4.x86_64 needs 583680 on the /boot/efi filesystem
lines 3167-3199/3199 (END)
Expected results: Upgrade should work seamlessly, but it doesn't.
Ok - so this was (as indicated by the error message - doh!) due to a lack of space on the autocreated MS EFI partition (100MB).
So I had to create a new EFI partition (have setup a 1GB partition now - once bitten etc...).
This turned out to be fairly simple - despite the lack of documentation online.
It required the following steps:
1. Create a 1GB partition to hold the new ESP - format it as FAT32.
2. Copy your current EFI to the new partition - I used rsync for this.
3. Update /etc/fstab with the new UUID (use blkid to find this information)
3. Update your firmware to hand off to grub on the new partition
sudo efibootmgr -c -d /dev/sda -p 8 -l '\EFI\fedora\shim.efi' -L Fedora
4. Make a note of the old partition entry - you'll need this to clean-up:
sudo efibootmgr -v
5. Use efibootmgr to remove the old partition entry
sudo efibootmgr -b <hex_entry_code> -B
You're done. Rebooting the system should now boot all entries from your new EFI partition. Your old EFI partition can now be deleted/reclaimed into another partition.
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30 Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '27'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 27 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.