Skip to content

Instantly share code, notes, and snippets.

@jftuga
Last active October 9, 2024 07:00
Show Gist options
  • Save jftuga/15a620383d9d3c86ae53c443c5b51989 to your computer and use it in GitHub Desktop.
Save jftuga/15a620383d9d3c86ae53c443c5b51989 to your computer and use it in GitHub Desktop.
How to Update Firmware on Ubuntu or Debian

This is a TL;DR for: https://linuxopsys.com/topics/update-firmware-on-ubuntu-using-fwupd

# Install
su -
apt update
apt install udisks2 fwupd

# Display supported devices 
fwupdmgr get-devices

# Downloading the latest metadata from LVFS
fwupdmgr refresh

# Checking for available firmware updates
fwupdmgr get-updates

# Update the device firmware
# Updates that can be applied live will be done immediately.
# Updates that run at bootup will be staged for the next reboot.
fwupdmgr update

# Optional: Send Telemetry
# fwupd project encourages users to report both successful and failed updates back to LVFS.
# You can send the report using:
fwupdmgr report-history
@Skinner927
Copy link

Skinner927 commented Aug 2, 2024

If fwupdmgr refresh returns errors like Not updatable as UEFI ESP partition not detected you likely need to install udisks2:

apt install -y udisks2
systemctl restart fwupd.service

(This was the case on terminal/no-gui Proxmox 8, aka Debian bookworm)

More info here: https://github.com/fwupd/fwupd/wiki/PluginFlag:esp-not-found

TY for this

@sladg
Copy link

sladg commented Aug 27, 2024

Thank guys, worked like a charm including udisks2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment