snippetbashTip
updatectl — System update utility. More information: <https://www.freedesktop.org/software/systemd/man/latest/up
Viewed 0 times
commandupdatecliinformationupdatectlmoreutilitysystem
linux
Problem
How to use the
updatectl command: System update utility. More information: <https://www.freedesktop.org/software/systemd/man/latest/updatectl.html>.Solution
updatectl — System update utility. More information: <https://www.freedesktop.org/software/systemd/man/latest/updatectl.html>.Check to see if the system has any available updates:
updatectl checkUpdate to the latest version:
updatectl updateShow update targets:
updatectlShow data about a target and its versions:
updatectl list {{target}}Return local data about a target without fetching from the network:
updatectl --offline list {{target}}Apply an update to a target and then reboot the system:
updatectl --reboot update {{target}}Clean up old versions of a specified target:
updatectl vacuum {{target}}Display help:
updatectl {{[-h|--help]}}Code Snippets
Check to see if the system has any available updates
updatectl checkUpdate to the latest version
updatectl updateShow update targets
updatectlShow data about a target and its versions
updatectl list {{target}}Return local data about a target without fetching from the network
updatectl --offline list {{target}}Context
tldr-pages: linux/updatectl
Revisions (0)
No revisions yet.