Subject: Re: wip/pkg_rmleaves
To: Geert Hendrickx <>
From: Hubert Feyrer <>
List: tech-pkg
Date: 12/10/2005 21:43:09
On Sat, 10 Dec 2005, Geert Hendrickx wrote:
> I imported pkg_rmleaves from FreeBSD Ports into pkgsrc-wip.  This tool
> scans the pkg dbdir for leaf packages and displays them in a dialog menu
> (or optionally xdialog or kdialog).  The user can then choose which leaf
> packages he wants to remove, and which he wants to keep.  After the removal
> pkg_rmleaves checks for new leaf packages and shows those again, and so on
> until no more new leaf packages are found.
> I also added a -a flag to make pkg_rmleaves act only on automatically
> installed packages (according to pkg_info -Qautomatic), as suggested by
> dillo.
> I hope you'll find this package useful.

Maybe have  a look at pkg_delete -R in that context.

  - Hubert