From owner-freebsd-questions@FreeBSD.ORG Mon Oct 23 19:44:01 2006 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 C266016A416 for ; Mon, 23 Oct 2006 19:44:01 +0000 (UTC) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6799E43D69 for ; Mon, 23 Oct 2006 19:44:01 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from db2.internal (db2.internal [10.202.2.12]) by frontend1.messagingengine.com (Postfix) with ESMTP id CC8E6DB7D0A for ; Mon, 23 Oct 2006 15:43:59 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by db2.internal (MEProxy); Mon, 23 Oct 2006 15:44:02 -0400 X-Sasl-enc: LAxlrmGXCd4gPLXC5hlSDfKfw0my0vbO5KSjNOp1GNaL 1161632639 Received: from gumby.localdomain (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 1C90FA7B2 for ; Mon, 23 Oct 2006 15:43:59 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Mon, 23 Oct 2006 20:43:52 +0100 User-Agent: KMail/1.9.4 References: <44hcxvukpi.fsf@be-well.ilk.org> In-Reply-To: <44hcxvukpi.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610232043.54859.list-freebsd-2004@morbius.sent.com> Subject: Re: pkg_add/delete questions 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: Mon, 23 Oct 2006 19:44:01 -0000 On Monday 23 October 2006 16:15, Lowell Gilbert wrote: > "Mark Jayson Alvarez" writes: > > I have several questions: > > > > 1. If I install a particular package, its dependencies will be > > installed as well. Now if I remove it later using pkg_delete, only > > that package will be removed and not the dependencies. The reason I > > guess is because some other packages may be dependent on those > > dependencies as well. Is there a way to remove a particular package > > and all of its dependencies (given that no other package is dependent > > on those dependencies)? > > Is the pkg_cutleaves port what you're looking for? If you build anything from ports, portmanager does a better job as it it takes account of build dependencies.