When listing leaf packages, also print their comments/short
descriptions. Will be ignored unless the
parameter is given, too.
Interpret exclude file as a list of leaf packages that
be installed. Report lint such as lines that match no installed packages
or excluded packages that are not leaves.
Generate the exclude list from kept or installed (when run with
List leaf packages only, one per line, and dont ask for anything to be
Visual mode. Will compile a list of leaf packages and invoke the users
Lines or package names that are deleted in the editor will then be removed.
Autoprune mode. Automatically deinstall non-required packages on which
the removed leaf packages depended. Will not remove packages on the
exclude list if
is also in effect.
|-x||Exclude packages matching expressions given in the exclude file.|
- Interactively cut leaf packages using the current exclude list:
- List all current leaf packages with comments:
- List packages not currently excluded and regenerate a new exclude file with both the listed and previously excluded packages:
- Interactively cut current leaf packages and remove newly discovered leaves, i.e. dependencies, automatically:
- The same as the previous example but use the current exclude list to filter all first-level leaves and any newly discovered leaves. Generate a new exclude file with the remaining leaves:
- Find exclude patterns that match nothing and those that match required packages, i.e. non-leaves:
/usr/local/etc/pkg_leaves.exclude An optional list for excluding packages when the -x or -L options are given. If the beginning of a packages name matches any line (except comment or empty lines) in this file, the package will not be listed/offered for removal (e.g., a line saying just XFree86 will exclude all packages with names starting with "XFree86" ). The list can be auto-generated with the -g option.
The following environment variables will be used in visual mode:
EDITOR The editor specified by the variable EDITOR will be invoked instead of the default editor vi(1).
.Xe pkg-delete 8 , portsclean(1)
.An Stefan Walter <email@example.com>