From owner-freebsd-questions@FreeBSD.ORG Thu Apr 20 04:40:14 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 C1FE716A401 for ; Thu, 20 Apr 2006 04:40:14 +0000 (UTC) (envelope-from beech@mangohealth.org) Received: from pinnacle.akherb.com (60-105-237-24.gci.net [24.237.105.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33BAF43D46 for ; Thu, 20 Apr 2006 04:40:14 +0000 (GMT) (envelope-from beech@mangohealth.org) Received: by pinnacle.akherb.com (Postfix, from userid 1007) id BC8155CD3; Wed, 19 Apr 2006 20:40:13 -0800 (AKDT) X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pinnacle.akherb.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=4.0 tests=AWL autolearn=ham version=3.1.1 Received: from [192.168.2.160] (209-124-141-064.ip.arctic.net [209.124.141.64]) by pinnacle.akherb.com (Postfix) with ESMTP id 0CD8E5C90; Wed, 19 Apr 2006 20:40:13 -0800 (AKDT) From: Beech Rintoul Organization: Mangohealth To: freebsd-questions@freebsd.org Date: Wed, 19 Apr 2006 20:39:56 -0800 User-Agent: KMail/1.9.1 References: <4446C7E5.3050101@fastmail.fm> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3140722.kAcgrq0IEe"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200604192040.10554.beech@mangohealth.org> Cc: Patrick Bowen , Low Kian Seong Subject: Re: How do uninstall a package and all it's dependencies ? 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: Thu, 20 Apr 2006 04:40:14 -0000 --nextPart3140722.kAcgrq0IEe Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline > On 4/20/06, Patrick Bowen wrote: > > Low Kian Seong wrote: > > >Dear all, > > > > > >Been digging around but never really found the answer to this one, say > > > if i install xfce4 package and then later I want to uninstall xfce4 = and=20 > > >*all* it's dependencies, how do i do it ? > > > > > Seong; > > > > I do that fairly often when I'm just looking at packages. Try > > "pkg_deinstall -R package-name", where package-name is replaced with the > > name of the package you want to delete, in your case xfce4. > > > > pkg_deinstall -R xfce4. > > > > Patrick On Wednesday 19 April 2006 19:23, Low Kian Seong wrote: > The problem about the -R option is that normally that takes off stuff like > xorg-server and friends too ! Really not nice, or am I doing something > wrong ? Add the -i flag. From the man: =2Di=20 --interactive Request confirmation before attempting to delete each package, regardless whether or not the standard in= put device is a terminal. A little more hands on, but it'll keep you from nuking something you want t= o=20 keep. Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org =2D------------------------------------------------------------------------= =2D------------- --nextPart3140722.kAcgrq0IEe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBERxCq2TFLCHYGSF0RAoxlAKCE38TC0uEY5chi3DVY2MGO63XM3QCaAz+3 Z5AnG4SbnEfMwjgQhUaIKNU= =cuwV -----END PGP SIGNATURE----- --nextPart3140722.kAcgrq0IEe--