Subject: Re: dependency clean-up
To: Zafer Aydogan <email@example.com>
From: Jeremy C. Reed <firstname.lastname@example.org>
Date: 10/27/2007 13:50:51
On Sat, 27 Oct 2007, Zafer Aydogan wrote:
> I'm installing and deinstalling packages from pkgsrc quite regularly.
> But especially, after installing packages with a lot of dependencies
> and removing them, I don't know how to delete the unused dependencies
> of this package.
> How do you keep your system clean from ballast ?
See pkg_info -u and pkg_admin(8) about "automatic=YES".
You could use that to generate a list to pkg_delete.
Maybe pkg_delete should be extended to know automatic=YES?
Jeremy C. Reed