I can run fwupdmgr refresh --force and fwupdmgr get-updates successfully, but the final command of fwupdmgr update always fails with the following error:
failed to set /sys/firmware/efi/efivars/fwupd-b5f7dcc1-568c-50f8-a4dd-e39d1f93fda1-0-0abba7dc-e516-4167-bbf5-4d9d1c739416 as mutable: failed to open: No such file or directory
I make sure that the laptop is plugged in when running these commands, but always get this issue. Has anyone else had this?
Sounds like it could be the lack of efivars space issue, tracked here, thread has workaround (reset secure boot settings to factory defaults before BIOS update):
Thank you for the suggestion. I think the issue is slightly different, since the error they report is that they don’t have space, whereas my error says the file isn’t there.
Running dh -f returns this efivarfs 148K 58K 86K 41% /sys/firmware/efi/efivars so I actually have plenty of space.
I tried the workaround anyway (just in case), and sadly it didn’t work.
I had a look in /sys/firmware/efi/efivars/ and the file really isn’t there, so I’m not sure why that might be happening
Someone had a similar issue not too long ago I thought having to do with files not being able to be written. I am trying to remember what was done to get it to work and I thought it had something to do with turning off secure boot or resetting the TPM? Maybe it was resetting the BIOS to factory defaults?
I had an issue recently with the 11th Gen board and trying to do the standalone update in the Coolermaster case would just fail repeatedly with booting from the USB with the EFI method. It kept complaining that it could not write files to somewhere and would never continue. I spent a few days meddling with the startup script only to find out if I tried to manually run the commands to update each side of the mainboard; after one side was updated, it no longer would display video on the other side when I needed to flash it to get to the next step.
I finally borrowed a Framework Laptop I had deployed at a business for an evening; took it apart and put my standalone mainboard in the guts of the laptop and then it would finally do the BIOS update. Took it apart again and put the original mainboard back in it and brought it back to the shop so they would have their laptop the next morning.