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

abroot — Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfullandabrootcliprovidingutilityimmutability
linux

Problem

How to use the abroot command: Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B). Updates are performed using OCI images, to ensure that the system is always in a consistent state. More information: <https://docs.vanillaos.org/docs/en/abroot-manpage>.

Solution

abroot — Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B). Updates are performed using OCI images, to ensure that the system is always in a consistent state. More information: <https://docs.vanillaos.org/docs/en/abroot-manpage>.

Add packages to the local image (Note: After executing this command, you need to apply these changes.):
sudo abroot pkg add {{package}}


Remove packages from the local image (Note: After executing this command, you need to apply these changes.):
sudo abroot pkg remove {{package}}


List packages in the local image:
sudo abroot pkg list


Apply changes in the local image (Note: You need to reboot your system for these changes to be applied):
sudo abroot pkg apply


Rollback your system to previous state:
sudo abroot rollback


Edit/View kernel parameters:
sudo abroot kargs {{edit|show}}


Display status:
sudo abroot status


Display help:
abroot {{[-h|--help]}}

Code Snippets

Add packages to the local image (Note: After executing this command, you need to apply these changes.)

sudo abroot pkg add {{package}}

Remove packages from the local image (Note: After executing this command, you need to apply these changes.)

sudo abroot pkg remove {{package}}

List packages in the local image

sudo abroot pkg list

Apply changes in the local image (Note: You need to reboot your system for these changes to be applied)

sudo abroot pkg apply

Rollback your system to previous state

sudo abroot rollback

Context

tldr-pages: linux/abroot

Revisions (0)

No revisions yet.