2011-12-22 14:03:54 +05:30
|
|
|
.Dd December 22, 2011
|
2011-12-17 23:00:13 +05:30
|
|
|
.Os Void GNU/Linux
|
|
|
|
.Dt xbps-repo 8
|
|
|
|
.Sh NAME
|
|
|
|
.Nm xbps-repo
|
|
|
|
.Nd XBPS command for binary package repositories
|
|
|
|
.Sh SYNOPSYS
|
|
|
|
.Nm xbps-repo
|
|
|
|
.Op options
|
|
|
|
.Ar target
|
|
|
|
.Op arguments
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
command is able to interact with binary packages stored in local or
|
|
|
|
remote repositories. It is able to create a package index for local
|
|
|
|
repositories, list repositories, search for packages and show information
|
|
|
|
of a binary package in repository pool, among other things.
|
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Fl
|
|
|
|
.It Fl C Ar conffile
|
|
|
|
Full path to the XBPS configuration file. By default set to
|
|
|
|
.Pa /etc/xbps/xbps.conf .
|
|
|
|
.It Fl c Ar cachedir
|
2010-05-04 01:20:34 +05:30
|
|
|
Sets the
|
2011-12-17 23:00:13 +05:30
|
|
|
.Em cache
|
|
|
|
directory to store downloaded binary packages from remote
|
|
|
|
repositories. By default set to
|
|
|
|
.Pa /var/cache/xbps .
|
|
|
|
.It Fl d
|
2010-11-19 18:10:13 +05:30
|
|
|
Enables extra debugging output to be shown to stderr.
|
2011-12-17 23:00:13 +05:30
|
|
|
.It Fl o Ar key Op key2,...
|
2011-10-29 11:47:54 +05:30
|
|
|
Used currently in the
|
2011-12-17 23:00:13 +05:30
|
|
|
.Em show
|
|
|
|
target. Prints the value of specified key(s) from
|
|
|
|
package's properties dictionary. Multiple keys can be specified delimited by
|
|
|
|
the comma character.
|
|
|
|
.It Fl r Ar rootdir
|
2010-05-04 01:20:34 +05:30
|
|
|
Sets the
|
2011-12-17 23:00:13 +05:30
|
|
|
.Em root
|
|
|
|
directory. By default the root directory is set to
|
|
|
|
.Em / .
|
|
|
|
Please note that the database directory is always set to
|
|
|
|
.Pa /var/db/xbps
|
|
|
|
independently of rootdir setting. So if you use a rootdir of
|
|
|
|
.Pa /blah ,
|
|
|
|
metadata stuff will go into
|
|
|
|
.Pa /blah/var/db/xbps .
|
|
|
|
.It Fl v
|
|
|
|
Shows verbose messages. Useful while installing and removing packages.
|
|
|
|
.It Fl V
|
|
|
|
Shows the current XBPS release version (version, API, index).
|
|
|
|
.Sh TARGETS
|
|
|
|
Please note that all targets are case insensitive.
|
|
|
|
.Pp
|
|
|
|
.Bl -tag -width ident
|
2011-12-22 15:37:54 +05:30
|
|
|
.It Sy find-files Ar pattern Ar [patterns ...]
|
2011-12-17 23:00:13 +05:30
|
|
|
Prints the name of
|
|
|
|
.Em package(s)
|
|
|
|
matching the pattern on its file list by looking in all repositories index files.
|
2011-12-22 15:31:28 +05:30
|
|
|
Multiple patterns can be specified as arguments.
|
2011-12-17 23:00:13 +05:30
|
|
|
.It Sy genindex Pa /path/to/local/repo
|
|
|
|
Generates a package index for a local repository as specified in its argument.
|
|
|
|
It will look for archives with the
|
|
|
|
.Sy .xbps
|
2011-01-29 22:18:13 +05:30
|
|
|
extension and will only add it into the index if version is newer than the one
|
2011-12-17 23:00:13 +05:30
|
|
|
available in the index. If a newer package is available, the old package file
|
|
|
|
will be removed automatically.
|
|
|
|
.It Sy list
|
|
|
|
Lists all working repositories in repository pool.
|
|
|
|
.It Sy pkg-list Op index
|
|
|
|
Lists all currently registered packages in repository index as specified
|
|
|
|
in the
|
|
|
|
.Ar index
|
|
|
|
argument. If argument is not specified, any package contained in all repositories
|
|
|
|
will be shown. The argument expects a decimal number starting from 0,
|
|
|
|
matching the output of the
|
|
|
|
.Ar list
|
|
|
|
target.
|
2011-12-22 14:03:54 +05:30
|
|
|
.It Sy search Ar pattern Ar [patterns ...]
|
2010-05-04 01:20:34 +05:30
|
|
|
Search for packages containing the shell
|
2011-12-17 23:00:13 +05:30
|
|
|
.Em pattern
|
|
|
|
(see
|
|
|
|
.Xr fnmatch 3 )
|
|
|
|
in its
|
|
|
|
.Em pkgname
|
2010-05-04 01:20:34 +05:30
|
|
|
or
|
2011-12-17 23:00:13 +05:30
|
|
|
.Em description
|
|
|
|
values in repository pool. Please note that patterns are matched in case
|
2011-12-22 14:03:54 +05:30
|
|
|
insensitive mode. Multiple patterns can be specified as arguments.
|
2011-12-17 23:00:13 +05:30
|
|
|
.It Sy show Ar pkgname
|
2010-05-04 01:20:34 +05:30
|
|
|
Shows information about binary package
|
2011-12-17 23:00:13 +05:30
|
|
|
.Em pkgname .
|
|
|
|
This will print the size it takes in filesystem, description, maintainer,
|
|
|
|
architecture and other information. The first repository in the pool wins.
|
|
|
|
.It Sy show-deps Ar pkgname
|
|
|
|
Shows run time dependencies for the binary package
|
|
|
|
.Ar pkgname .
|
|
|
|
The first repository in the pool wins.
|
|
|
|
.It Sy show-files Ar pkgname
|
|
|
|
Shows the file list for the binary package
|
|
|
|
.Ar pkgname .
|
|
|
|
The first repository containing the matching
|
|
|
|
.Ar pkgname
|
|
|
|
in the pool wins.
|
|
|
|
.Em NOTE :
|
|
|
|
if a remote repository is the winner and binary package is not available in
|
|
|
|
.Em cachedir ,
|
|
|
|
it will fetch remotely and
|
|
|
|
.Em on the fly
|
|
|
|
the info from target repository.
|
|
|
|
.It Sy sync
|
|
|
|
Syncs the package index file for all registered remote repositories.
|
|
|
|
The index file will be fetched if local and remote size/mtime do not match.
|
|
|
|
.Sh FILES
|
|
|
|
.Bl -tag -width /var/db/xbps/<remoterepodir>/index.plist -compact
|
|
|
|
.It Pa /etc/xbps/xbps.conf
|
|
|
|
Default XBPS configuration file.
|
|
|
|
.It Pa /var/db/xbps/<remoterepodir>/index.plist
|
|
|
|
Remote repository package index file.
|
|
|
|
.It Pa /var/cache/xbps
|
|
|
|
XBPS cache directory for downloaded binary packages.
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr xbps-bin 8 ,
|
|
|
|
.Xr http://code.google.com/p/xbps
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An Juan Romero Pardines <xtraeme@gmail.com>
|
|
|
|
.Sh BUGS
|
|
|
|
Probably, but I try to make this not happen. Use it under your own
|
|
|
|
responsability and enjoy your life.
|
|
|
|
.Pp
|
|
|
|
Report bugs in http://code.google.com/p/xbps.
|