From owner-freebsd-questions@FreeBSD.ORG Mon Oct 23 19:55:27 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 030EA16A4A0 for ; Mon, 23 Oct 2006 19:55:26 +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 9420343DA6 for ; Mon, 23 Oct 2006 19:55:10 +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 279CCDB9208 for ; Mon, 23 Oct 2006 15:55:04 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by db2.internal (MEProxy); Mon, 23 Oct 2006 15:55:06 -0400 X-Sasl-enc: sakiGj+xWXooSq2Zsrl+tFIIq+h6wiksCZ0Rh+IuE0kQ 1161633306 Received: from gumby.localdomain (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mail.messagingengine.com (Postfix) with ESMTP id 657301E52 for ; Mon, 23 Oct 2006 15:55:06 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Mon, 23 Oct 2006 20:55:01 +0100 User-Agent: KMail/1.9.4 References: <200610222107.44751.freebsd@dfwlp.com> In-Reply-To: <200610222107.44751.freebsd@dfwlp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610232055.02282.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:55:27 -0000 On Monday 23 October 2006 03:07, Jonathan Horne wrote: > On Sunday 22 October 2006 20:52, Mark Jayson Alvarez wrote: > > Hi, > > > > 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)? > > > > 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 > > this query would be easily answered by 'man pkg_add' and 'man pkg_delete'. > > ill hint you that you are looking for -r and a -n. Unfortunately the meaning of -r is inverted in the system package tools with respect to portupgrade and its associated package tools, so pkg_delete -r isn't much use. Portupgrade's pkg_deinstall does support this.