Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2003 10:34:04 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Adam <blueeskimo@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to list installed ports that have no dependant ports
Message-ID:  <20030404083404.GA80068@falcon.midgard.homeip.net>
In-Reply-To: <1049438180.27963.60.camel@jake>
References:  <1049438180.27963.60.camel@jake>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 04, 2003 at 01:36:20AM -0500, Adam wrote:
> (/usr/ports) - (eskimo@ttypb.jake) - (01:31:37)
> -$ pkg_info |wc -l
>      488
> 
> As you can see, I need to clean up my system quite a bit. I've got a ton
> of things installed, most of which were installed as dependencies for
> ports that have since been uninstalled.
> 
> So, what I'd like to do is list all the ports installed on my box that
> have nothing dependant on them. In this way, I could start removing
> things that I don't need anymore. 
> 
> Is there any clever way to do this? I've toyed around with a few ideas,
> but haven't been able to come up with anything that works nicely.

Look at the output from 'pkg_info -a -R'.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



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