Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 11:18:35 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        freebsd-ports@freebsd.org
Cc:        hawk@slytherin.ds.psu.edu
Subject:   Re: superfluous java ports?
Message-ID:  <20040305111835.4f2f5d44@Magellan.Leidinger.net>
In-Reply-To: <20040304230219.GD52768@slytherin.ds.psu.edu>
References:  <16455.43839.642991.919915@jerusalem.litteratus.org> <20040304230219.GD52768@slytherin.ds.psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Mar 2004 18:02:19 -0500
"Dr. Richard E. Hawkins" <hawk@slytherin.ds.psu.edu> wrote:

> I was wondering how many were cruft the other day, and did something
> like:
> 
> ls /var/db/pkg/*/+REQ* | sed -e "s/-.*//" -e "s/^.*\///" > tlist
> 
> to get a file of all packages upon which something else depends, and 
> then 
> 
> /var/db/pkg | grep -v -f tlist
> 
> to get a list of files upon which nothing else depends, which I then
> inspected for candidates for pkg_deinstall

sysutils/pkg_cutleaves does something similar.

Bye,
Alexander.

-- 
           I will be available to get hired in April 2004.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040305111835.4f2f5d44>