From owner-freebsd-stable Fri May 12 14:22:53 2000 Delivered-To: freebsd-stable@freebsd.org Received: from lyra.ci.uc.pt (lyra.ci.uc.pt [193.136.200.58]) by hub.freebsd.org (Postfix) with ESMTP id 64EAB37BAD4 for ; Fri, 12 May 2000 14:22:41 -0700 (PDT) (envelope-from pedro@qui.uc.pt) Received: from godfather.mafia.net (pm1-55.uc.pt [193.137.211.183]) by lyra.ci.uc.pt (8.9.3/8.9.3) with ESMTP id VAA29055 for ; Fri, 12 May 2000 21:22:34 GMT Message-ID: X-Mailer: XFMail 1.4.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200005122113.OAA63283@passer.osg.gov.bc.ca> Date: Fri, 12 May 2000 22:23:08 +0100 (BST) Reply-To: pedro@qui.uc.pt Organization: Webvolution Networks From: Pedro Almeida To: freebsd-stable@FreeBSD.ORG Subject: Re: ucd-snmp Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG in any case I propose: pkg_info | grep -i package_to_remove | xargs pkg_delete cheers, Pedro On 12-May-2000 Cy Schubert wrote: > In message <20000512170354.A31801@hyperhost.net>, Patrick Seal writes: >> On Fri, May 12, 2000 at 01:44:57PM -0700i, Chad R. Larson wrote: >> > I think they're pointing out the difference between "pkg_delete", a >> > binary part of the system, and "pkg_remove", a perl script in ports. >> >> Whoops! Anyway, looking at the source code, what's so great about it? Why >> should anyone use it? > > Let's take removing Samba as an example: > > 1. pkg_info | grep -i samba > > 2. wait for a long time. > > 3. pkg_delete samba-2.0.6 > > > Using pkg_remove, > > 1. pkg_remove -n samba > > 2. wait for a short period of time to see what might be deleted, > e.g. dependencies. > > 3. if you decide to go ahead with the removal: pkg_remove samba > > > Regards, Phone: (250)387-8437 > Cy Schubert Fax: (250)387-5766 > Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca > Open Systems Group, ITSD, ISTA > Province of BC > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message ========================================================== Pedro Almeida (aka GoDfAtHeR) E-Mail: Pedro Almeida Sent on 12-May-2000 at 22:20:37 from godfather.???.net Fortune: Do molecular biologists wear designer genes? PGP key available upon request "Try to realize the truth... there is no spoon!." - A kid in the movie "The Matrix" ========================================================== Next 5 years holiday plan: 2000: Usenix & FreeBSD Conference 2001: Russia 2002: Australia 2003: The world 200Segmentation fault (core dumped) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message