From owner-freebsd-questions@FreeBSD.ORG Sun Mar 1 07:36:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA737106568C for ; Sun, 1 Mar 2009 07:36:12 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 63AFC8FC28 for ; Sun, 1 Mar 2009 07:36:11 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LdgDb-0000nd-GI for freebsd-questions@freebsd.org; Sun, 01 Mar 2009 07:36:11 +0000 Received: from pool-72-75-62-79.washdc.east.verizon.net ([72.75.62.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Mar 2009 07:36:11 +0000 Received: from nightrecon by pool-72-75-62-79.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Mar 2009 07:36:11 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 01 Mar 2009 02:36:53 -0500 Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-75-62-79.washdc.east.verizon.net User-Agent: KNode/0.99.01 Sender: news Subject: Re: A problem about pkg_deinstall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Mar 2009 07:36:13 -0000 lacalling wrote: > I have some problems about pkg_deinstall. > > pkg_deinstall -R deletes packages depended recursively. > > but it seems to crashes some other packages. > > for example,i installed pkg A,it depends on pkg b,c,d. > > pkg_deinstall -R will deletes A,b,c,d. > > but if b is depended by some other pkg X which i use,X probably will > crash. > > i read man pkg_deinstall,but got no further info. > > could anyone kindly help me to find out how to delete pkgs only depended > by A? -r --recursive Deinstall all those packages depending on the given packages as well. -R --upward-recursive Deinstall all those packages required by the given packages as well. Makes a difference on whether the "R" is upper or lower case. -Mike