The xbps-query utility prints information
of a specific package or packages stored in target root directory or in
registered repositories. The argument PKG is a package
expression, which is explained in the PACKAGE EXPRESSION
section.
The package is on hold mode. Packages in this mode won't be updated unless
it's explicitely declared to be updated. The only way to update packages
in this mode is by using the -f,--force option. To list packages in this mode use
xbps-query-H.
The package is in manual mode of installation and won't be considered for
removal when running xbps-remove-o. To list packages in this mode use
xbps-query-m.
A package in repolock mode will only accept updates that are available in
the same repository that was used for installing. To list packages in this
mode use xbps-query--list-repolock-pkgs.
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.
Only match this package property. Multiple properties can be specified by
delimiting them with commas. For a list of available properties, see the
PROPERTIES section.
Enables repository mode and adds 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.
Only one of the following modes can be used at a time. By default
and unless the -R option is specified, the target
PKG will be queried in the root directory, otherwise
it will be queried in registered repositories.
Lists repositories and the number of packages contained on them. If a
repository is not available the number of packages will be
-1. The
-v option can be used to show more detailed
information of remote repositories.
Lists package orphans in the package database (pkgdb), i.e packages that
were installed as dependencies and no package is currently depending on
them directly.
Search for installed package files by matching
PATTERN. The PATTERN argument
can be a simple string, a shell wildcard pattern as explained in
fnmatch(3) or an Extended Regular
Expression as explained in regex(7) (if
--regex option is set). If the
-R option is set, the matched
PATTERN in repositories will be shown.
Shows information of an installed package. This is the default mode if no
other mode is set. If the -R option is set, the
matched PKG in repositories will be shown. If a
package property is specified with --property,
only that property will be shown.
Search for packages by matching PATTERN on its
pkgver and/or short_desc properties.
The same rules explained in the --ownedby option
are applied, but a PACKAGE EXPRESSION is also supported.
If a package property is specified with
--property, all packages matching
PATTERN against PROP will be
shown.
Show the required dependencies for PKG. Only direct
dependencies are shown. To see a full dependency tree, also set
--fulldeptree. If the -R
option is set, the matched PKG in repositories will
be shown.
Prints the file FILE stored in binary package
PKG to stdout. The first repository matching the
PKG expression wins. This expects an absolute path.
This mode only works with repositories.
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).
You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.