snippetbashTip
abroot — Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺
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 listApply changes in the local image (Note: You need to reboot your system for these changes to be applied):
sudo abroot pkg applyRollback your system to previous state:
sudo abroot rollbackEdit/View kernel parameters:
sudo abroot kargs {{edit|show}}Display status:
sudo abroot statusDisplay 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 listApply changes in the local image (Note: You need to reboot your system for these changes to be applied)
sudo abroot pkg applyRollback your system to previous state
sudo abroot rollbackContext
tldr-pages: linux/abroot
Revisions (0)
No revisions yet.