移除分層套件
移除指定的分層套件
rpm-ostree 工具也提供 uninstall 選項,可移除個別的分層套件:
$ rpm-ostree uninstall --help Usage: rpm-ostree uninstall [OPTION…] PACKAGE [PACKAGE...] Remove overlayed additional packages Help Options: -h, --help Show help options 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
和安裝或復原一樣,必須重新啟動系統才能啟用新的映像檔。
Want to help? Learn how to contribute to Fedora Docs ›