From 49717b9544bacbcd38a10b791adcb4a4aa2e9162 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Fri, 29 May 2026 23:40:06 +0800 Subject: updates --- man/apkg-orphan.8 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 man/apkg-orphan.8 (limited to 'man/apkg-orphan.8') 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 -- cgit v1.2.3