Bug 1222676 - EFI Firmware Updates downloaded, but not installed
Summary: EFI Firmware Updates downloaded, but not installed
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Tseng
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-11 10:59 UTC by Gerald Pfeifer
Modified: 2024-05-28 08:06 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2024-04-11 10:59:32 UTC
This has been going on for some months where regardless of whether I
use fwupdtool or GNOME Software available firmware updates are shown,
downloaded, and a reboot offered, alas when I reboot these updates are
not installed.

After running whatever update tool, updates are present under
/boot/efi/EFI/opensuse/fw.

After reboot they are gone - but apparently not installed (and indeed
there is nothing unusual during the power on and boot sequence, like I
believe I saw in the past when firmware updates were applied):

% ls -l /boot/efi/EFI/opensuse/fw
-rwxr-xr-x 1 root root  1243680 Apr  1 16:09 fwupd-279599d4-78c7-4c99-84ea-4a7c8d2b10e1.cap
-rwxr-xr-x 1 root root  9431077 Apr  1 16:09 fwupd-4e78ce68-5389-4a95-bf10-e3568c30caf8.cap
-rwxr-xr-x 1 root root 28843840 Apr  1 16:09 fwupd-a0fd4aef-f691-4c90-a089-7dd4f4481db0.cap

% ls -l /boot/efi/EFI/opensuse/
total 4,5M
-rwxr-xr-x 1 root root 847k Apr  1 03:39 MokManager.efi
-rwxr-xr-x 1 root root   58 Apr  1 03:39 boot.csv
drwxr-xr-x 2 root root 4,1k Apr  1 16:09 fw
-rwxr-xr-x 1 root root  64k Feb 25  2023 fwupdx64.efi
-rwxr-xr-x 1 root root  203 Apr  1 03:39 grub.cfg
-rwxr-xr-x 1 root root 2,1M Apr  1 03:39 grub.efi
-rwxr-xr-x 1 root root 541k Apr  1 03:39 grubx64.efi
-rwxr-xr-x 1 root root 935k Apr  1 03:39 shim.efi


Asking naively: is /boot/efi/EFI/opensuse/fw the right directory for
these updates to be put in? It looks is if they are not "found", yet
"something" removes them upon startup?

Hardware is a ThinkPad X1 Yoga Gen 8.
Comment 1 Tseng 2024-05-28 08:06:15 UTC
Could you manually install those .cap files ? For example:
$fwupdmgr get-updates
$fwupdmgr install fwupd-279599d4-78c7-4c99-84ea-4a7c8d2b10e1.cap
$reboot

>Asking naively: is /boot/efi/EFI/opensuse/fw the right directory for
>these updates to be put in? It looks is if they are not "found", yet
>"something" removes them upon startup?

In my environment with fwupd-1.8.6:
step-1) fwupdmgr refresh
Successfully downloaded new metadata: 2 local devices supported.
$ls /var/lib/fwupd/metadata/lvfs
metadata.xml.xz
metadata.xml.xz.jcat

step-2) fwupdmgr update
download .cap files now ...
Before reboot, let's check cap files in fw directory:
$ls /boot/efi/EFI/opensuse/fw
xxxxxx.cap
xxx.cap
Also let's check devices to be updated:
$fwupdmgr get-updates
No updates available 
............
Devices with the latest available firmware updates:
. System Firmware
. xxxxxxxxx
$sudo reboot
Updating your firmware
Do not power down you system.

step-3) Double check final result after system reboot, 
$fwupdmgr get-updates
Devices that have been updated successfully
/boot/efi/EFI/opensuse$ ls fw
xxxxx.cap  still there.