Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JamesOBenson/acfbbbc6868aee50fd8bcdf8ad4f6459 to your computer and use it in GitHub Desktop.
Save JamesOBenson/acfbbbc6868aee50fd8bcdf8ad4f6459 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 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

# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment