xbps-digest(1): new utility that replaces "xbps-uhelper digest".
See the manual page:
XBPS-DIGEST(1) General Commands Manual XBPS-DIGEST(1)
NAME
xbps-digest - XBPS utility to generate message digests
SYNOPSIS
xbps-digest [OPTIONS] [FILE] [FILE+N]
DESCRIPTION
The xbps-digest utility generates message digests for specified FILE or
stdin if unset.
OPTIONS
-m, --mode mode
Sets the message digest mode. Supported: sha256. If unset, defaults
to sha256.
-h, --help
Show the help message.
-V, --version
Show the version information.
SEE ALSO
xbps.d(5), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1),
xbps-fbulk(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1),
xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1),
xbps-uunshare(1)
AUTHORS
Juan Romero Pardines <xtraeme@gmail.com>
BUGS
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
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 18:04:58 +05:30
|
|
|
.Dd June 12, 2019
|
2015-05-16 13:15:35 +05:30
|
|
|
.Dt XBPS-REMOVE 1
|
2012-11-03 15:17:03 +05:30
|
|
|
.Sh NAME
|
|
|
|
.Nm xbps-remove
|
|
|
|
.Nd XBPS utility to remove packages
|
2015-10-30 11:15:26 +05:30
|
|
|
.Sh SYNOPSIS
|
2012-11-03 15:17:03 +05:30
|
|
|
.Nm xbps-remove
|
|
|
|
.Op OPTIONS
|
|
|
|
.Op PKGNAME...
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
2012-11-05 14:09:10 +05:30
|
|
|
utility removes installed packages in the target root directory.
|
2013-12-17 20:06:07 +05:30
|
|
|
Removing a package involves the following steps:
|
2012-11-03 15:59:45 +05:30
|
|
|
.Pp
|
|
|
|
.Sy *
|
2012-11-03 16:03:55 +05:30
|
|
|
Executes the
|
2013-12-17 20:06:07 +05:30
|
|
|
.Sy pre
|
|
|
|
ACTION on its
|
2012-11-03 15:59:45 +05:30
|
|
|
.Sy REMOVE
|
2013-12-17 20:06:07 +05:30
|
|
|
script (which can be shown by running
|
|
|
|
.Sy `xbps-query --property=remove-script pkg`
|
|
|
|
).
|
2012-11-03 15:59:45 +05:30
|
|
|
.Pp
|
|
|
|
.Sy *
|
|
|
|
Package files are removed if those have not been modified.
|
|
|
|
The
|
|
|
|
.Ar -f
|
|
|
|
option overrides this behaviour and forcefully removes the files.
|
|
|
|
.Pp
|
|
|
|
.Sy *
|
2012-11-03 16:03:55 +05:30
|
|
|
Executes the
|
2013-12-17 20:06:07 +05:30
|
|
|
.Sy post
|
|
|
|
ACTION on its
|
2012-11-03 15:59:45 +05:30
|
|
|
.Sy REMOVE
|
2013-12-17 20:06:07 +05:30
|
|
|
script (which can be shown by running
|
|
|
|
.Sy `xbps-query --property=remove-script pkg`
|
|
|
|
).
|
2012-11-03 15:59:45 +05:30
|
|
|
.Pp
|
|
|
|
.Sy *
|
2012-11-03 16:03:55 +05:30
|
|
|
Changes package state to
|
2013-12-17 20:06:07 +05:30
|
|
|
.Sy XBPS_PKG_STATE_HALF_REMOVED
|
|
|
|
in the package database.
|
2012-11-03 15:59:45 +05:30
|
|
|
.Pp
|
|
|
|
.Sy *
|
2012-11-03 16:03:55 +05:30
|
|
|
Executes the
|
2012-11-03 15:59:45 +05:30
|
|
|
.Sy purge
|
2013-12-17 20:06:07 +05:30
|
|
|
ACTION on its
|
2012-11-03 15:59:45 +05:30
|
|
|
.Sy REMOVE
|
2013-12-17 20:06:07 +05:30
|
|
|
script (which can be shown by running
|
|
|
|
.Sy `xbps-query --property=remove-script pkg`
|
|
|
|
).
|
2012-11-03 15:59:45 +05:30
|
|
|
.Pp
|
|
|
|
.Sy *
|
2012-11-21 10:30:55 +05:30
|
|
|
Package metadata file is removed.
|
2012-11-03 15:59:45 +05:30
|
|
|
.Pp
|
|
|
|
.Sy *
|
|
|
|
Package is unregistered from package database.
|
2012-11-03 15:17:03 +05:30
|
|
|
.Sh OPTIONS
|
2012-11-06 15:03:29 +05:30
|
|
|
.Bl -tag -width -x
|
2014-11-06 14:28:04 +05:30
|
|
|
.It Fl C, Fl -config Ar dir
|
|
|
|
Specifies a path to the XBPS configuration directory.
|
2017-07-11 08:00:23 +05:30
|
|
|
If the first character is not '/' then it's a relative path of
|
2014-11-06 14:28:04 +05:30
|
|
|
.Ar rootdir .
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl c, Fl -cachedir Ar dir
|
2014-11-06 14:28:04 +05:30
|
|
|
Specifies a path to the cache directory, where binary packages are stored.
|
2017-07-11 08:00:23 +05:30
|
|
|
If the first character is not '/' then it's a relative path of
|
2014-11-06 14:28:04 +05:30
|
|
|
.Ar rootdir .
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl d, Fl -debug
|
2012-11-03 15:17:03 +05:30
|
|
|
Enables extra debugging shown to stderr.
|
2012-11-21 10:30:55 +05:30
|
|
|
.It Fl F, Fl -force-revdeps
|
2015-02-16 15:49:09 +05:30
|
|
|
Forcefully remove package even if there are reverse dependencies and/or broken
|
|
|
|
shared libraries (DANGEROUS!).
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl f, Fl -force
|
2012-11-03 15:17:03 +05:30
|
|
|
Forcefully remove package files even if they have been modified.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl h, Fl -help
|
2015-10-30 11:15:26 +05:30
|
|
|
Show the help message.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl n, Fl -dry-run
|
2015-10-20 12:46:38 +05:30
|
|
|
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>".
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl O, Fl -clean-cache
|
2012-11-03 15:17:03 +05:30
|
|
|
Cleans cache directory removing obsolete binary packages.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl o, Fl -remove-orphans
|
2012-11-03 15:17:03 +05:30
|
|
|
Removes installed package orphans that were installed automatically
|
|
|
|
(as dependencies) and are not currently dependencies of any installed package.
|
2016-09-20 13:17:51 +05:30
|
|
|
.No See Fl -mode Sy auto No in Xr xbps-pkgdb 1 .
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl R, Fl -recursive
|
2012-11-03 15:17:03 +05:30
|
|
|
Recursively remove packages that were installed by
|
|
|
|
.Ar PKGNAME
|
|
|
|
and aren't required by other installed packages.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl r, Fl -rootdir Ar dir
|
2012-11-03 15:17:03 +05:30
|
|
|
Specifies a full path for the target root directory.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl v, Fl -verbose
|
2012-11-03 15:17:03 +05:30
|
|
|
Enables verbose messages.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl y, Fl -yes
|
2012-11-03 15:17:03 +05:30
|
|
|
Assume yes to all questions and avoid interactive questions.
|
2012-11-05 14:09:10 +05:30
|
|
|
.It Fl V, Fl -version
|
2015-10-30 11:15:26 +05:30
|
|
|
Show the version information.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2021-12-28 19:46:47 +05:30
|
|
|
.Sh ENVIRONMENT
|
|
|
|
.Bl -tag -width XBPS_TARGET_ARCH
|
|
|
|
.It Sy XBPS_ARCH
|
|
|
|
Overrides
|
|
|
|
.Xr uname 2
|
|
|
|
machine result with this value.
|
|
|
|
Useful to remove packages with a fake architecture
|
|
|
|
.It Sy XBPS_TARGET_ARCH
|
|
|
|
Sets the target architecture to this value.
|
|
|
|
This variable differs from
|
|
|
|
.Sy XBPS_ARCH
|
|
|
|
in that it allows you to remove packages partially, because
|
|
|
|
configuration phase is skipped (the target binaries might not be compatible with
|
|
|
|
the native architecture).
|
|
|
|
.It Sy XBPS_SYSLOG
|
|
|
|
Overrides the
|
|
|
|
.Xr xbps.d 5
|
|
|
|
.Sy syslog=true|false
|
|
|
|
configuration option.
|
|
|
|
.El
|
2012-11-03 15:17:03 +05:30
|
|
|
.Sh FILES
|
2014-09-11 15:51:33 +05:30
|
|
|
.Bl -tag -width /var/db/xbps/.<pkgname>-files.plist
|
2014-11-06 14:28:04 +05:30
|
|
|
.It Ar /etc/xbps.d
|
|
|
|
Default configuration directory.
|
2014-12-15 13:54:55 +05:30
|
|
|
.It Ar /usr/share/xbps.d
|
|
|
|
Default system configuration directory.
|
2014-09-11 15:51:33 +05:30
|
|
|
.It Ar /var/db/xbps/.<pkgname>-files.plist
|
|
|
|
Package files metadata.
|
|
|
|
.It Ar /var/db/xbps/pkgdb-0.38.plist
|
|
|
|
Default package database (0.38 format). Keeps track of installed packages and properties.
|
2012-11-03 15:17:03 +05:30
|
|
|
.It Ar /var/cache/xbps
|
2013-03-05 08:38:42 +05:30
|
|
|
Default cache directory to store downloaded binary packages.
|
2014-08-23 12:56:02 +05:30
|
|
|
.El
|
2012-11-03 15:17:03 +05:30
|
|
|
.Sh SEE ALSO
|
2015-05-16 13:15:35 +05:30
|
|
|
.Xr xbps-checkvers 1 ,
|
|
|
|
.Xr xbps-create 1 ,
|
|
|
|
.Xr xbps-dgraph 1 ,
|
xbps-digest(1): new utility that replaces "xbps-uhelper digest".
See the manual page:
XBPS-DIGEST(1) General Commands Manual XBPS-DIGEST(1)
NAME
xbps-digest - XBPS utility to generate message digests
SYNOPSIS
xbps-digest [OPTIONS] [FILE] [FILE+N]
DESCRIPTION
The xbps-digest utility generates message digests for specified FILE or
stdin if unset.
OPTIONS
-m, --mode mode
Sets the message digest mode. Supported: sha256. If unset, defaults
to sha256.
-h, --help
Show the help message.
-V, --version
Show the version information.
SEE ALSO
xbps.d(5), xbps-checkvers(1), xbps-create(1), xbps-dgraph(1),
xbps-fbulk(1), xbps-install(1), xbps-pkgdb(1), xbps-query(1),
xbps-reconfigure(1), xbps-remove(1), xbps-rindex(1), xbps-uchroot(1),
xbps-uunshare(1)
AUTHORS
Juan Romero Pardines <xtraeme@gmail.com>
BUGS
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
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-12 18:04:58 +05:30
|
|
|
.Xr xbps-digest 1 ,
|
2015-10-28 14:07:09 +05:30
|
|
|
.Xr xbps-fbulk 1 ,
|
2019-06-12 21:27:03 +05:30
|
|
|
.Xr xbps-fetch 1 ,
|
2015-05-16 13:15:35 +05:30
|
|
|
.Xr xbps-install 1 ,
|
|
|
|
.Xr xbps-pkgdb 1 ,
|
|
|
|
.Xr xbps-query 1 ,
|
|
|
|
.Xr xbps-reconfigure 1 ,
|
|
|
|
.Xr xbps-rindex 1 ,
|
|
|
|
.Xr xbps-uchroot 1 ,
|
|
|
|
.Xr xbps-uunshare 1 ,
|
|
|
|
.Xr xbps.d 5
|
2012-11-03 15:17:03 +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
|
2015-10-28 14:33:41 +05:30
|
|
|
responsibility and enjoy your life.
|
2012-11-03 15:17:03 +05:30
|
|
|
.Pp
|
2018-09-23 21:21:07 +05:30
|
|
|
Report bugs at https://github.com/void-linux/xbps/issues
|