sboremove

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT CODES
BUGS
SEE ALSO
AUTHORS
MAINTAINER


NAME

sboremove - remove packages installed from SlackBuilds

SYNOPSIS

sboremove [-h|-v]

sboremove [-apq] [--no-descriptions] sbo_name (sbo_name)

sboremove [--color|--nocolor] [--wrap|--nowrap] \...

DESCRIPTION

sboremove removes packages installed from SlackBuilds, along with any unneeded dependencies. Dependency information is pulled recursively from info files and honors the contents of sbotools.hints(5); any dependencies required by no other installed SlackBuilds are eligible for removal as well. sboremove does not handle blacklisted scripts.

If sboremove is called with the --alwaysask flag, all dependencies receive removal prompts, even if they are required by other installed SlackBuilds. The per-script prompts list installed reverse dependencies, if any.

compat32 and normal packages can be requested together at the command line. Call sboremove with the --compat32 flag to specify all command line scripts as compat32 automatically.

In all cases, this script prompts the user package-by-package in reverse build order before performing any removal operations. No option exists to enable sboremove to uninstall packages without confirmation prompts, and there are no plans to add that functionality in the future.

Root privileges are required to run sboremove unless passing --query. If an invalid configuration is detected in /etc/sbotools/sbotools.conf, or if invalid options are specified, the script exits with a diagnostic message.

OPTIONS

-a|--alwaysask

Always ask to remove dependencies, even if they are required by other packages installed to the system.

--no-descriptions

Do not show descriptions in query or interactive output.

-p|--compat32

Interpret all scripts passed to sboremove at the command line as compat32.

-q|--query

Show the prospective removal prompt order and exit.

-h|--help

Show help information.

-v|--version

Show version information.

--color

Turn on sbotools color output. See also sbotools.colors(5).

--nocolor

Turn off sbotools color output.

--wrap

Turn on sbotools word wrapping (default).

--nowrap

Turn off sbotools word wrapping.

EXIT CODES

sboremove can exit with the following codes:

0: all operations completed successfully.
1: a usage error occurred, such as running sboremove without a list of packages.
2: a script or module error occurred.
13: circular dependencies detected.
16: reading keyboard input failed.

BUGS

None known. If found, Issues and Pull Requests to https://github.com/pghvlaans/sbotools/ are always welcome.

SEE ALSO

sbocheck(1), sboclean(1), sboconfig(1), sbocutleaves(1), sbofind(1), sbohints(1), sboinstall(1), sbotool(1), sboupgrade(1), sbotools.colors(5), sbotools.conf(5), sbotools.hints(5)

AUTHORS

Luke Williams <xocel (at) iquidus (dot) org>

Jacob Pipkin <jacob.pipkin (at) icloud (dot) com>

Andreas Guldstrand <andreas (dot) guldstrand (at) gmail (dot) com>

MAINTAINER

K. Eugene Carlson <kvngncrlsn (at) gmail (dot) com>