Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Performing System Updates (CLI)

Ken Moore edited this page Jun 15, 2020 · 1 revision

Project Trident has created a small script on the system called trident-update which will let you check and perform system updates in a safe manner.

Check for updates

Run trident-update -check with root permissions. This will automatically bootstrap any new version of xbps itself as needed (and will create a recovery snapshot before any changes are performed).

Perform updates

Run trident-update -update with root permissions. This will automatically make a recovery snapshot of your current boot environment, and then proceed with performing system updates of all packages.

It is always recommended to reboot the system after completing all system updates, otherwise applications that were running while they were updated in the background may start behaving poorly until they are restarted. While a system reboot is an easy way to ensure everything is running the newly-updated version, this is particularly important when the kernel itself was updated. Simply run "reboot" as root to initiate the reboot into a new kernel.