2014-08-23 12:56:02 +05:30
|
|
|
.Dd August 23, 2014
|
2012-11-06 14:24:43 +05:30
|
|
|
.Os Void Linux
|
|
|
|
.Dt xbps-pkgdb 8
|
|
|
|
.Sh NAME
|
|
|
|
.Nm xbps-pkgdb
|
2013-02-20 15:05:55 +05:30
|
|
|
.Nd XBPS utility to report/fix issues and modify the package database (pkgdb)
|
2012-11-06 14:24:43 +05:30
|
|
|
.Sh SYNOPSYS
|
|
|
|
.Nm xbps-pkgdb
|
|
|
|
.Op OPTIONS
|
|
|
|
.Op PKGNAME...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2013-02-20 15:05:55 +05:30
|
|
|
utility can check/fix issues and modify the package database (pkgdb).
|
|
|
|
It's able to check for missing dependencies, modified files and symlinks,
|
2013-03-05 08:38:42 +05:30
|
|
|
and more errors that have been fixed in newer versions of xbps. A mode to update
|
|
|
|
the format to the latest version is also available.
|
2013-02-20 21:02:53 +05:30
|
|
|
This is the list of things that
|
|
|
|
.Nm
|
|
|
|
currently does:
|
|
|
|
.Bl -tag -width -x
|
|
|
|
.It Sy METADATA CHECK
|
|
|
|
Checks that package metadata files have not been modified by comparing original
|
|
|
|
hash that is recorded when package is installed against current one.
|
|
|
|
.It Sy FILES CHECK
|
|
|
|
Checks that all files belonging to a package have not been modified and are
|
|
|
|
not missing.
|
|
|
|
.It Sy DEPENDENCIES CHECK
|
|
|
|
Checks that all required dependencies for a package are resolved.
|
|
|
|
.It Sy OBSOLETE METADATA CHECK
|
|
|
|
Checks that the package database does not contain obsolete data from previous
|
|
|
|
XBPS versions and removes them if found.
|
2013-03-05 08:38:42 +05:30
|
|
|
.It Sy FORMAT CONVERSION
|
|
|
|
Updates the pkgdb format to the latest version.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2012-11-06 14:24:43 +05:30
|
|
|
.Sh OPTIONS
|
2012-11-06 15:03:29 +05:30
|
|
|
.Bl -tag -width -x
|
2012-11-06 14:24:43 +05:30
|
|
|
.It Fl a, Fl -all
|
|
|
|
Process all registered packages, regardless of its state.
|
|
|
|
.It Fl C, Fl -config Ar file
|
|
|
|
Specifies a full path to the XBPS configuration file.
|
|
|
|
.It Fl d, Fl -debug
|
|
|
|
Enables extra debugging shown to stderr.
|
|
|
|
.It Fl h, Fl -help
|
|
|
|
Show the help usage.
|
2013-08-12 18:16:54 +05:30
|
|
|
.It Fl m, Fl -mode Ar auto|manual|hold|unhold
|
2013-02-20 15:05:55 +05:30
|
|
|
Switches
|
|
|
|
.Ar PKGNAME
|
2013-08-12 18:16:54 +05:30
|
|
|
to the specified mode: automatic or manual installation mode, or to (un)set it on hold mode.
|
|
|
|
A package that was installed as dependency will be in
|
|
|
|
.Sy automatic
|
|
|
|
mode, otherwise will be set to
|
|
|
|
.Sy manual .
|
|
|
|
A package in
|
|
|
|
.Sy hold
|
|
|
|
mode won't be updated in full system upgrades. The list of packages in this mode can be
|
|
|
|
seen with
|
|
|
|
.Xr xbps-query 8 .
|
2012-11-06 14:24:43 +05:30
|
|
|
.It Fl r, Fl -rootdir Ar dir
|
|
|
|
Specifies a full path for the target root directory.
|
2013-03-05 08:38:42 +05:30
|
|
|
.It Fl u, Fl -update
|
|
|
|
Updates the pkgdb format to the latest version making the necessary conversions
|
|
|
|
automatically. Usually this is needed only in rare circumstances.
|
2012-11-06 14:24:43 +05:30
|
|
|
.It Fl v, Fl -verbose
|
|
|
|
Enables verbose messages.
|
|
|
|
.It Fl V, Fl -version
|
|
|
|
Shows the XBPS version.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2012-11-06 14:24:43 +05:30
|
|
|
.Sh FILES
|
2013-03-05 08:38:42 +05:30
|
|
|
.Bl -tag -width /var/db/xbps/.<pkgname>.plist
|
2012-11-06 14:24:43 +05:30
|
|
|
.It Ar /etc/xbps/xbps.conf
|
2013-03-05 08:38:42 +05:30
|
|
|
Default configuration file.
|
|
|
|
.It Ar /var/db/xbps/.<pkgname>.plist
|
|
|
|
Package metadata properties.
|
|
|
|
.It Ar /var/db/xbps/pkgdb-0.21.plist
|
|
|
|
Default package database (0.21 format). Keeps track of installed packages and properties.
|
|
|
|
.It Ar /var/cache/xbps
|
|
|
|
Default cache directory to store downloaded binary packages.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2012-11-06 14:24:43 +05:30
|
|
|
.Sh SEE ALSO
|
2014-04-07 15:52:55 +05:30
|
|
|
.Xr xbps-checkvers 8 ,
|
2012-11-06 14:24:43 +05:30
|
|
|
.Xr xbps-create 8 ,
|
|
|
|
.Xr xbps-dgraph 8 ,
|
|
|
|
.Xr xbps-install 8 ,
|
|
|
|
.Xr xbps-query 8 ,
|
|
|
|
.Xr xbps-reconfigure 8 ,
|
|
|
|
.Xr xbps-remove 8 ,
|
2014-04-21 14:28:09 +05:30
|
|
|
.Xr xbps-rindex 8 ,
|
|
|
|
.Xr xbps-uchroot 8
|
2012-11-06 14:24:43 +05:30
|
|
|
.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
|
2013-12-17 20:08:56 +05:30
|
|
|
Report bugs in https://github.com/voidlinux/xbps/issues
|