Manual Page Search Parameters

XBPS-REMOVE(1) General Commands Manual XBPS-REMOVE(1)

xbps-removeXBPS 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 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 ACTION on its REMOVE script (which can be shown by running `xbps-query --property=remove-script pkg` ).

* Changes package state to in the package database.

* Executes the 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.

--config dir
Specifies a path to the XBPS configuration directory. If the first character is not '/' then it's a relative path of rootdir.
--cachedir dir
Specifies a path to the cache directory, where binary packages are stored. If the first character is not '/' then it's a relative path of rootdir.
--debug
Enables extra debugging shown to stderr.
--force-revdeps
Forcefully remove package even if there are reverse dependencies and/or broken shared libraries (DANGEROUS!).
--force
Forcefully remove package files even if they have been modified.
--help
Show the help message.
--dry-run
Dry-run mode. Show what actions would be done but don't do anything. The current output prints 6 arguments: "<pkgver> <action> <arch> <repository> <installedsize> <downloadsize>".
--clean-cache
Cleans cache directory removing obsolete binary packages.
--remove-orphans
Removes installed package orphans that were installed automatically (as dependencies) and are not currently dependencies of any installed package. See --mode in xbps-pkgdb(1).
--recursive
Recursively remove packages that were installed by PKGNAME and aren't required by other installed packages.
--rootdir dir
Specifies a full path for the target root directory.
--verbose
Enables verbose messages.
--yes
Assume yes to all questions and avoid interactive questions.
--version
Show the version information.

/etc/xbps.d
Default configuration directory.
/usr/share/xbps.d
Default system configuration directory.
/var/db/xbps/.<pkgname>-files.plist
Package files metadata.
/var/db/xbps/pkgdb-0.38.plist
Default package database (0.38 format). Keeps track of installed packages and properties.
/var/cache/xbps
Default cache directory to store downloaded binary packages.

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

June 12, 2019