| XBPS-REMOVE(1) | General Commands Manual | XBPS-REMOVE(1) |
xbps-remove — XBPS
utility to remove packages
xbps-remove |
[OPTIONS] [PKGNAME...] |
The xbps-remove utility removes installed
packages in the target root directory. Removing a package involves the
following steps:
* Executes the pre ACTION on its REMOVE script (which can be shown by running `xbps-query --property=remove-script pkg` ).
* Package files are removed if those have not been modified. The -f option overrides this behaviour and forcefully removes the files.
* Executes the post ACTION on its REMOVE script (which can be shown by running `xbps-query --property=remove-script pkg` ).
* Changes package state to XBPS_PKG_STATE_HALF_REMOVED in the package database.
* Executes the purge ACTION on its REMOVE script (which can be shown by running `xbps-query --property=remove-script pkg` ).
* Package metadata file is removed.
* Package is unregistered from package database.
-C,
--config dir-c,
--cachedir dir-d,
--debug-F,
--force-revdeps-f,
--force-h,
--help-n,
--dry-run-O,
--clean-cache-o,
--remove-orphans--mode
auto
in
xbps-pkgdb(1).-R,
--recursive-r,
--rootdir dir-v,
--verbose-y,
--yes-V,
--versionxbps-alternatives(1), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1), xbps-digest(1), xbps-fbulk(1), xbps-fetch(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-rindex(1), xbps-uchroot(1), xbps-uunshare(1), xbps.d(5)
Juan Romero Pardines <xtraeme@gmail.com>
Probably, but I try to make this not happen. Use it under your own responsibility and enjoy your life.
Report bugs at https://github.com/void-linux/xbps/issues
| February 9, 2023 |