Manual Page Search Parameters

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

xbps-install
XBPS utility to (re)install and update packages

xbps-install [
OPTIONS
] [
PKG...
]

The xbps-install utility installs, reinstalls, downgrades and updates packages in the target root directory. The argument PKG is a package expression, which is explained in the PACKAGE EXPRESSION section. If package is installed, it will be updated to the version available in repositories matching the PACKAGE EXPRESSION. Otherwise it will be installed, or reinstalled/downgraded if -f, --force option is set.

A package expression is a form to match a pattern; currently xbps supports 3 ways to specify them:
The first repository matching the package expression wins.

 
 
--automatic
Enables automatic installation mode, i.e. package will be treated as orphan if no package is depending on it directly. See --mode auto in xbps-pkgdb(1).
 
 
--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
Force downgrade installation (if package version in repos is less than installed version), or reinstallation (if package version in repos is the same) to the target PKG, overwriting regular package files and symlinks (if they have been modified) but preserving configuration files. If -f is specified twice all files will be unpacked, even configuration files.
 
 
--help
Show the help message.
 
 
--ignore-conf-repos
Ignore repositories defined in configuration files. Only repositories specified in the command line via --repository will be used.
 
 
--memory-sync
For remote repositories, the data is fetched and stored in memory for the current operation. This ignores the existing on-disk repository archives in rootdir.
 
 
--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>".
 
 
Enable repository mode. This mode explicitly looks in repositories, rather than looking in the target root directory.
 
 
Appends the specified repository to the top of the list. The url argument expects a URL to the repository for remote repositories or a path for local repositories. Note that remote repositories must be signed using xbps-rindex(1). This option can be specified multiple times.
 
 
--rootdir dir
Specifies a full path for the target root directory.
 
 
--sync
Synchronize remote repository index files.
 
 
--unpack-only
If set, packages to be installed or upgraded in the transaction won't be configured, just unpacked. That means that those packages should be reconfigured via xbps-reconfigure(1).
 
 
--update
Performs a full system upgrade: all installed packages (except those on hold, see --mode hold in xbps-pkgdb(1)) will be updated to the greatest versions that were found in repositories.
 
 
--verbose
Enables verbose messages.
 
 
--yes
Assume yes to all questions and avoid interactive questions.
 
 
--version
Show the version information.

 
 
XBPS_ARCH
Overrides uname(2) machine result with this value. Useful to install packages with a fake architecture.
 
 
XBPS_TARGET_ARCH
Sets the target architecture to this value. This variable differs from XBPS_ARCH in that it allows you to install packages partially, because configuration phase is skipped (the target binaries might not be compatible with the native architecture).

 
 
/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-fbulk(1), xbps-pkgdb(1), xbps-query(1), xbps-reconfigure(1), xbps-remove(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/voidlinux/xbps/issues
September 20, 2016