Bug 1993508 - /usr/libexec/fwupd/efi/fwupdx64.efi cannot be found
Summary: /usr/libexec/fwupd/efi/fwupdx64.efi cannot be found
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: fwupd
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL: https://bodhi.fedoraproject.org/updat...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-13 16:37 UTC by Alessio
Modified: 2022-02-08 10:45 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-02-08 10:45:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Alessio 2021-08-13 16:37:40 UTC
Lenovo ThinkPad X1 Carbon Gen 8

fwupd-plugin-uefi-capsule-data-1.6.3-1.fc34.x86_64
fwupd-plugin-flashrom-1.6.3-1.fc34.x86_64
fwupd-plugin-modem-manager-1.6.3-1.fc34.x86_64
fwupd-1.6.3-1.fc34.x86_64

Running 
sudo fwupdmgr update 
I get

╔══════════════════════════════════════════════════════════════════════════════╗
║ Upgrade System Firmware from 0.1.17 to 0.1.19?                               ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ Lenovo ThinkPad X1 Carbon Gen 8 X1 Yoga Gen 5 System Firmware Version 1.19   ║
║ The computer will be restarted automatically after updating BIOS completely  ║
║ . Do NOT turn off your computer or remove the AC adaptor while update is in  ║
║ progress.                                                                    ║
║ • Update includes a security fix.                                            ║
║ • Updated E label version to 4.1.0.29.                                       ║
║ • Fixed an issue where Nuvoton TPM firmware version might not detected       ║
║ properly.                                                                    ║
║ 20U9004HIX must remain plugged into a power source for the duration of the   ║
║ update to avoid damage.                                                      ║
╚══════════════════════════════════════════════════════════════════════════════╝

Perform operation? [Y|n]: y
Downloading…             [***************************************] Less than one minute remaining…
Decompressing…           [***************************************]
Authenticating…          [***************************************]
Authenticating…          [***************************************]
/usr/libexec/fwupd/efi/fwupdx64.efi cannot be found

Indeed fwupdx64.efi is not available in any package.
But it was available with previous versions


$ sudo dnf provides *fwupdx64.efi
Last metadata expiration check: 2:16:07 ago on Fri 13 Aug 2021 04:20:58 PM CEST.
fwupd-1.5.8-1.fc34.x86_64 : Firmware update daemon
Repo        : fedora
Matched from:
Other       : *fwupdx64.efi

fwupd-1.5.12-1.fc34.x86_64 : Firmware update daemon
Repo        : updates
Matched from:
Other       : *fwupdx64.efi

Comment 1 Alessio 2021-08-13 16:40:20 UTC
https://github.com/fwupd/fwupd/wiki/LVFS-Triaged-Issue:-UEFI:-fwupdx64.efi-cannot-be-found

"Ensure fwupd-efi is actually installed."

Does this package exist?

Comment 2 Marcel Härri 2021-08-15 19:36:13 UTC
Same for me, with secure boot:

$ rpm -qa | grep fwupd
fwupd-plugin-uefi-capsule-data-1.5.12-1.fc34.x86_64
fwupd-plugin-flashrom-1.6.3-1.fc34.x86_64
fwupd-plugin-modem-manager-1.6.3-1.fc34.x86_64
fwupd-1.6.3-1.fc34.x86_64

$ sudo fwupdmgr update
Devices with no available firmware updates:
 • UEFI dbx
Devices with the latest available firmware version:
 • Embedded Controller
╔══════════════════════════════════════════════════════════════════════════════╗
║ Upgrade Intel Management Engine from 184.83.3874 to 184.86.3909?             ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ Lenovo ThinkPad X1 Carbon 6th ME Firmware Version 11.8.86.3909(LVFS:         ║
║ 184.86.3909)                                                                 ║
║ The computer will be restarted automatically after updating completely. Do   ║
║ NOT turn off your computer or remove the AC adaptor while update is in       ║
║ progress.                                                                    ║
║ This stable release fixes the following issues:                              ║
║ • Intel CSME IPU 2021.1:                                                     ║
║ Addressed several critical security vulnerabilities.                         ║
║ 20KH006JMZ must remain plugged into a power source for the duration of the   ║
║ update to avoid damage.                                                      ║
╚══════════════════════════════════════════════════════════════════════════════╝

Perform operation? [Y|n]: y
Downloading…             [***************************************] Less than one minute remaining…
Decompressing…           [***************************************]
Authenticating…          [***************************************]
Authenticating…          [***************************************]
missing signed bootloader for secure boot: /usr/libexec/fwupd/efi/fwupdx64.efi.signed cannot be found


$ ls -l /usr/libexec/fwupd/efi/fwupdx64.efi.signed
ls: cannot access '/usr/libexec/fwupd/efi/fwupdx64.efi.signed': No such file or directory

$ sudo dnf whatprovides /usr/libexec/fwupd/efi/fwupdx64.efi.signed
Last metadata expiration check: 0:01:20 ago on So 15 Aug 2021 21:28:53.
fwupd-1.5.8-1.fc34.x86_64 : Firmware update daemon
Repo        : fedora
Matched from:
Filename    : /usr/libexec/fwupd/efi/fwupdx64.efi.signed

fwupd-1.5.12-1.fc34.x86_64 : Firmware update daemon
Repo        : updates
Matched from:
Filename    : /usr/libexec/fwupd/efi/fwupdx64.efi.signed

Comment 3 digger vermont 2021-08-17 15:22:42 UTC
It looks like fwupd-efi is not being built for F34. 

https://bugzilla.redhat.com/show_bug.cgi?id=1953508
https://src.fedoraproject.org/rpms/fwupd-efi

I was able to successfully install the rpm for F35 found here
https://kojipkgs.fedoraproject.org//packages/fwupd-efi/1.1/1.fc35/x86_64/fwupd-efi-1.1-1.fc35.x86_64.rpm

and then perform a successful complete a "fwupdmgr update"

Comment 4 Richard Hughes 2021-08-18 15:17:26 UTC
I've submitted fwupd-efi as an explicit update; I did hope that the fwupd recommend would drag it into the compose.

Comment 5 digger vermont 2021-08-19 13:43:12 UTC
The fwupd-efi installed from bodhi appears to work for me.

Comment 6 Simone Caronni 2021-08-30 07:56:00 UTC
(In reply to Richard Hughes from comment #4)
> I've submitted fwupd-efi as an explicit update; I did hope that the fwupd
> recommend would drag it into the compose.

But it does not come along with the updates. A simple "Requires: fwupd-efi%{_isa}" should be enough.

Comment 7 Kamil Páral 2021-09-09 06:54:20 UTC
I have the same problem as in comment 0 for my Thinkpad T480s.

Richard, can we please move this forward? The Recommends seems to pull fwupd-efi just fine - if I do "sudo dnf reinstall fwupd", it will pull fwupd-efi. The problem is that you first created fwupd-1.6.3-1.fc34 and *only a week later* you created fwupd-efi-1.1-1.fc34. So people who installed it over the first week (me included) don't have fwupd-efi, and won't have it, until you bump fwupd version. So the solution is simple, bump fwupd and update the Bodhi update.

However, since fwupd fails to work without fwupd-efi (as shown in comment 0), shouldn't this be Requires instead of Recommends?

Comment 8 Richard Hughes 2021-09-09 15:06:31 UTC
> So the solution is simple, bump fwupd and update the Bodhi update.

Yup, I'll do this when I'm less in crunch mode.

> shouldn't this be Requires instead of Recommends

If you don't have EFI functionality for whatever reason then it's not required. e.g. CoreOS.


Note You need to log in before you can comment on or make changes to this bug.