aboutsummaryrefslogtreecommitdiff
path: root/man/apkg-orphan.8
diff options
context:
space:
mode:
Diffstat (limited to 'man/apkg-orphan.8')
-rw-r--r--man/apkg-orphan.829
1 files changed, 29 insertions, 0 deletions
diff --git a/man/apkg-orphan.8 b/man/apkg-orphan.8
new file mode 100644
index 0000000..26b132c
--- /dev/null
+++ b/man/apkg-orphan.8
@@ -0,0 +1,29 @@
+.\" -*- mode: troff; coding: utf-8 -*-
+.TH APKG-ORPHAN 8
+.SH NAME
+apkg-orphan \- list orphan packages with no dependents installed
+.SH DESCRIPTION
+.LP
+\fBapkg-orphan\fR lists orphan packages: packages that are installed and
+exist in a repository, but have no other installed package depending on them.
+These may be safe to remove.
+.SH USAGE
+.LP
+\f(CRapkg-orphan\fR
+.PP
+The script takes no arguments and produces one package name per line.
+.SH EXAMPLES
+.LP
+\f(CRapkg-orphan\fR - List all orphaned packages.
+.PP
+\f(CRapkg-orphan | while read p; do apkg -r "$p"; done\fR - Remove all orphaned packages.
+.SH AUTHORS
+.LP
+emmett1 \c
+.MT me@emmett1.my
+.ME
+.SH REPORTING BUGS
+.LP
+Please report bugs and issues in the project issue tracker: \c
+.UR https://codeberg.org/emmett1/autils/issues
+.UE