Menghapus Paket yang Di-layer-kan

Kembalikan Semua Perubahan dengan Rollback

Jika seluruh image perlu dikembalikan ke kondisi awal atau kondisi yang diketahui, Anda dapat melakukan rollback ke versi sebelumnya.

$ sudo rpm-ostree rollback --reboot

Hapus Paket yang Ditambahkan Secara Selektif

Utilitas rpm-ostree juga memiliki opsi uninstall untuk menghapus paket yang ditambahkan secara individual:

$ rpm-ostree uninstall --help
Usage:
  rpm-ostree uninstall [OPTION…] PACKAGE [PACKAGE...]

Remove overlayed additional packages

Opsi Bantuan:
  -h, --help              Tampilkan opsi bantuan

Application Options:
  --install=PKG           Overlay additional package
  --all                   Remove all overlayed additional packages
  --os=OSNAME             Operate on provided OSNAME
  -r, --reboot            Initiate a reboot after operation is complete
  -n, --dry-run           Exit after printing the transaction
  --allow-inactive        Allow inactive package requests
  --idempotent            Do nothing if package already (un)installed
  --unchanged-exit-77     If no overlays were changed, exit 77
  --sysroot=SYSROOT       Use system root SYSROOT (default: /)
  --peer                  Force a peer-to-peer connection instead of using the system message bus
  --version               Print version information and exit

Seperti instalasi atau rollback, reboot sistem akan diperlukan untuk mengaktifkan image baru.