From owner-freebsd-questions@FreeBSD.ORG Mon Oct 23 15:15:59 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 93BA816A403 for ; Mon, 23 Oct 2006 15:15:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC9CC43D5A for ; Mon, 23 Oct 2006 15:15:54 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 3023 invoked from network); 23 Oct 2006 15:15:54 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 23 Oct 2006 15:15:54 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 8912528433; Mon, 23 Oct 2006 11:15:53 -0400 (EDT) To: "Mark Jayson Alvarez" References: From: Lowell Gilbert Date: Mon, 23 Oct 2006 11:15:53 -0400 In-Reply-To: (Mark Jayson Alvarez's message of "Mon, 23 Oct 2006 09:52:31 +0800") Message-ID: <44hcxvukpi.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: pkg_add/delete questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Oct 2006 15:15:59 -0000 "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? > 2. Is it possible to tell pkg_add to just fetch the package and not > install them? My goal is to use my Internet conn pkg_add(1) can't do that, but the ports makefiles have enough of the logic that putting that together should be quite practical.