HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

updatectl — System update utility. More information: <https://www.freedesktop.org/software/systemd/man/latest/up

Submitted by: @import:tldr-pages··
0
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 check


Update to the latest version:
updatectl update


Show update targets:
updatectl


Show 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 check

Update to the latest version

updatectl update

Show update targets

updatectl

Show 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.