Description of problem: Installed f37 recently on a new Lenovo P14s and cannot update the TPM or Battery because I get the following error for both updates: /run/media/root/ANACONDA does not have sufficient space, required 21.2 MB, got 466.9 kB craig.crawford@fedora ~]$ df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 4.0M 0 4.0M 0% /dev tmpfs 14G 221M 14G 2% /dev/shm tmpfs 5.5G 2.4M 5.5G 1% /run /dev/dm-0 953G 28G 923G 3% / tmpfs 14G 20K 14G 1% /tmp /dev/dm-0 953G 28G 923G 3% /home /dev/nvme0n1p2 974M 257M 651M 29% /boot /dev/nvme0n1p1 599M 18M 582M 3% /boot/efi tmpfs 2.8G 176K 2.8G 1% /run/user/1001 Version-Release number of selected component (if applicable): [craig.crawford@fedora ~]$ sudo fwupdtool --version Loading… [************************************** ]09:01:07.138 FuEngine failed to update history database: device ID 362301da643102b9f38477387e2193e57abaa590 was not found compile org.freedesktop.fwupd 1.8.15 compile com.hughsie.libxmlb 0.3.11 compile com.hughsie.libjcat 0.1.13 runtime org.freedesktop.fwupd-efi 1.4 compile org.freedesktop.gusb 0.4.5 runtime com.hughsie.libjcat 0.1.13 runtime com.dell.libsmbios 2.4 runtime org.freedesktop.gusb 0.4.5 runtime org.freedesktop.fwupd 1.8.15 runtime org.kernel 6.3.5-100.fc37.x86_64 Lenovo Battery 1.0.4 -> 1.3.7 Lenovo TPM 7.2.768 -> 7.2.769 How reproducible: Every time. Steps to Reproduce: 1. Install f37 on Lenovo P14s, auto partitioning, reclaim all disk space. 2. Try to update using `sudo fwupdtool update` 3. After accepting prompts to restart, nothing changes and the update remains on the next call to fwupdtool. Actual results: [craig.crawford@fedora ~]$ sudo fwupdtool update Loading… [***** ]09:02:56.768 FuEngine failed to add device usb:01:00:03: failed to get static tool info from device: USB error on device 05e3:0610 : Pipe error [-9] Loading… [************************************** ] Devices with no available firmware updates: • ELAN0678:00 04F3:3195 • Integrated RGB Camera • Prometheus IOTA Config • UEFI Device Firmware • UEFI Device Firmware • UEFI Device Firmware • UEFI Device Firmware • UEFI Device Firmware ╔══════════════════════════════════════════════════════════════════════════════╗ ║ Upgrade Battery from 1.0.4 to 1.3.7? ║ ╠══════════════════════════════════════════════════════════════════════════════╣ ║ Lenovo-ThinkPad-T14-Gen-3-P14s-Gen-3-BatteryFirmware-259.0.0.7 ║ ║ ║ ║ Added support for ║ ║ ║ ║ ThinkPad T14 Gen 3 (Machine Types: 21CF),ThinkPad T14 Gen 3 LTE1 (Machine ║ ║ Types: 21CG),ThinkPad P14s Gen 3 (Machine Types: 21J5),ThinkPad P14s Gen 3 ║ ║ LTE2 (Machine Types: 21J6) ║ ║ ║ ║ Problem fixes ║ ║ ║ ║ Improved charging performance for the following battery:FRU P/N: 5B10W51862 ║ ║ (ASM P/N: SB10W51963) or FRU P/N: 5B10W51866 (ASM P/N: SB10W51967) ║ ║ ║ ║ LENOVO 21J5CTO1WW must remain plugged into a power source for the duration ║ ║ of the update to avoid damage. ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Perform operation? [Y|n]: y Decompressing… [***************************************] /run/media/root/ANACONDA does not have sufficient space, required 21.2 MB, got 466.9 kB Devices with the latest available firmware version: • Embedded Controller • MZVL21T0HCLR-00BL7 • Prometheus • System Firmware ╔══════════════════════════════════════════════════════════════════════════════╗ ║ Upgrade TPM from 7.2.768 to 7.2.769? ║ ╠══════════════════════════════════════════════════════════════════════════════╣ ║ This stable release fixes the following issues: ║ ║ ║ ║ • This version tpm firmware fixed system hang up issue ║ ║ ║ ║ LENOVO 21J5CTO1WW must remain plugged into a power source for the duration ║ ║ of the update to avoid damage. ║ ╚══════════════════════════════════════════════════════════════════════════════╝ Perform operation? [Y|n]: y 09:03:07.317 FuProgress child is at 0/1 step_max and parent done [../src/fu-tool.c:1235] 1) ../src/fu-tool.c:1235 (16/19) 0) ../src/fu-engine.c:2714 (0/1) Installing on TPM… [***************************************] Decompressing… [***************************************] /run/media/root/ANACONDA does not have sufficient space, required 21.5 MB, got 466.9 kB • UEFI dbx • Unifying Receiver An update requires a reboot to complete. Restart now? [y|N]: n Expected results: No errors about space, firmware is installed and update disappears. Additional info: N/A
What does `sudo fwupdtool esp-list -v -v` say please? Is the LiveCD/LiveUSB inserted?
The solution was as simple as unplugging the LiveUSB 🤦
> The solution was as simple as unplugging the LiveUSB 🤦 I guess we could handle that in fwupd too.
e.g. https://github.com/fwupd/fwupd/pull/5900
Fixed in 1.9.3, although that's only in F38 unfortunately.