From owner-freebsd-questions@FreeBSD.ORG Sat Aug 27 16:37:50 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A60E716A41F for ; Sat, 27 Aug 2005 16:37:50 +0000 (GMT) (envelope-from sysjo@hades.yoafrica.com) Received: from cortizone.yoafrica.com (cortizone.yoafrica.com [196.44.176.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFE8143D68 for ; Sat, 27 Aug 2005 16:37:45 +0000 (GMT) (envelope-from sysjo@hades.yoafrica.com) Received: from hades.yoafrica.com ([196.44.177.50] ident=postfix) by cortizone.yoafrica.com with esmtp (Exim 4.51 (FreeBSD)) id 1E93hA-0006nl-IH; Sat, 27 Aug 2005 16:38:16 +0000 Received: by hades.yoafrica.com (Postfix, from userid 1001) id 7A7606288; Sat, 27 Aug 2005 18:37:40 +0200 (CAT) Date: Sat, 27 Aug 2005 18:37:40 +0200 From: John Oxley To: "Robert G." Message-ID: <20050827163740.GB5579@yoafrica.com> References: <431093CF.6050507@adelphia.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <431093CF.6050507@adelphia.net> User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: How to find out which ports/dependencies were installed when installing a port? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2005 16:37:50 -0000 On Sat, Aug 27, 2005 at 12:24:47PM -0400, Robert G. wrote: > Hi, > > New here. I'm running portuprade and wondering if it's possible to find > out which ports/dependencies were installed when installing a specific > application. For example: I install "A" which needs "B" and "C" to run. > So portupgrade installs "B" and "C" along with "A". Later down the > road I deinstall "A" and decide I'd like to get rid of the > ports/dependencies that "A" needed installed with it. How would I go > about finding "B" and "C" just by knowing "A"'s name? There has to be > an easy answer, but I can't figure it out. pkg_cutleaves and pkg_tree -- John Oxley Systems Administrator Yo!Africa E-Mail: john at yoafrica.com Tel: +263 4 858404