From owner-cvs-all Wed Oct 3 23: 3:42 2001 Delivered-To: cvs-all@freebsd.org Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by hub.freebsd.org (Postfix) with ESMTP id 045EC37B406; Wed, 3 Oct 2001 23:03:32 -0700 (PDT) Received: from vega.vega.com (h190.229.dialup.iptcom.net [212.9.229.190]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id JAA36925; Thu, 4 Oct 2001 09:03:24 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id f9462CU82608; Thu, 4 Oct 2001 09:02:12 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3BBBFBD4.2B422715@FreeBSD.org> Date: Thu, 04 Oct 2001 09:04:04 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Gordon Tetlow Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/create perform.c... References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gordon Tetlow wrote: > On Wed, 3 Oct 2001, Maxim Sobolev wrote: > > > sobomax 2001/10/03 00:46:03 PDT > > > > Log: > > MFC: > > - add new `-r' option to pkg_delete(8), which instructs it to delete not only > > packages specified at command line, but all packages that depend on > > specified packages as well. > > Does this only delete all dependencies or does it check to make sure it is > the only package that is using the dependency? Yes and no. :) It deletes all packages recursively, so if package A requires package B and package C in turn requires package A, doing pkg_delete -r B will delete A, B and C. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message