This is a TL;DR for: https://linuxopsys.com/topics/update-firmware-on-ubuntu-using-fwupd You may want to also checkout: https://eclypsium.com/blog/linux-commands-to-check-the-state-of-firmware/
# Install, udisks2 is needed for error: 'Not updatable as UEFI ESP partition not detected'
su -
apt update
apt install -y udisks2 fwupd
# Display supported devices
fwupdmgr get-devices