From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 14:38:30 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61E1537B401 for ; Sat, 5 Apr 2003 14:38:30 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 340D743FA3 for ; Sat, 5 Apr 2003 14:38:29 -0800 (PST) (envelope-from blueeskimo@gmx.net) Received: (qmail 31219 invoked by uid 65534); 5 Apr 2003 22:38:28 -0000 Received: from i216-58-29-174.gta.igs.net (EHLO [216.58.29.174]) (216.58.29.174) by mail.gmx.net (mp020-rz3) with SMTP; 06 Apr 2003 00:38:28 +0200 From: Adam To: Mike Meyer In-Reply-To: <16013.52484.125528.851826@guru.mired.org> References: <1049438180.27963.60.camel@jake> <16013.52484.125528.851826@guru.mired.org> Content-Type: text/plain Organization: Message-Id: <1049582306.91991.30.camel@jake> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 05 Apr 2003 17:38:27 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: How to list installed ports that have no dependant ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 22:38:30 -0000 On Fri, 2003-04-04 at 13:20, Mike Meyer wrote: > Since you want to delete them, why don't you just use pkg_delete on > them. If they something depends on them, they won't be deleted. I do use pkg_delete, but the idea here is to effectively FIND the ports that have no ports dependent on them .. I've got 500+ installed ports to go through here .. Trying pkg_delete on all of them would take too long .. I need to narrow my search space considerably in order to do this effectively .. -- Adam