From owner-freebsd-questions@FreeBSD.ORG Sat Apr 5 15:08:27 2003 Return-Path: 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 0596C37B401 for ; Sat, 5 Apr 2003 15:08:27 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id 057D543F85 for ; Sat, 5 Apr 2003 15:08:26 -0800 (PST) (envelope-from mwm-dated-1050016105.28fc9e@mired.org) Received: (qmail 74715 invoked from network); 5 Apr 2003 23:08:25 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 5 Apr 2003 23:08:25 -0000 Received: by guru.mired.org (tmda-inject, from uid 100); Sat, 05 Apr 2003 17:08:25 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16015.25064.686353.832671@guru.mired.org> Date: Sat, 5 Apr 2003 17:08:24 -0600 To: Konrad Scorciapino In-Reply-To: <200304051954.06478.fallenbr@uol.com.br> References: <200304051954.06478.fallenbr@uol.com.br> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.73 (Jet Pilot) cc: freebsd-questions@freebsd.org Subject: Re: Uninstalling dependencies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2003 23:08:27 -0000 In <200304051954.06478.fallenbr@uol.com.br>, Konrad Scorciapino typed: > How can I uninstall all dependencies of a port? Install the portupgrade port, and use "pkg_deinstall -r". Alternatively, # pkg_delete -f $(pkg_info -R | sed 1,/Required/d) should do the trick. But this doesn't handle dependencies of the dependencies. http://www.mired.org/consulting.html Independent Network/Unix/Perforce consultant, email for more information.