From owner-freebsd-questions@FreeBSD.ORG Tue Apr 10 21:49:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D492C16A401 for ; Tue, 10 Apr 2007 21:49:46 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id AB08013C45D for ; Tue, 10 Apr 2007 21:49:46 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.pgh.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id CC05CEBC6D; Tue, 10 Apr 2007 17:49:45 -0400 (EDT) Date: Tue, 10 Apr 2007 17:49:44 -0400 From: Bill Moran To: peter@placidpublishing.net Message-Id: <20070410174944.d3dc28fa.wmoran@potentialtech.com> In-Reply-To: <461C0322.8030908@placidpublishing.net> References: <461C0322.8030908@placidpublishing.net> X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Uninstalling Ports Question 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: Tue, 10 Apr 2007 21:49:46 -0000 In response to "Placid Publishing, LLC" : > Say I have a new system with nothing installed on it yet from the ports > collection. Lets say I install Apache and lets say it requires php, > python, perl, and ruby. Now lets say I uninstall Apache with "pkg_delete > Apache". Will it remove php, python, perl, and ruby? Or will it leave > those packages? Even if nothing else is depending on them? The system does not automatically clean up dependencies for you. If you uninstall a package that leave dependencies behind, you'll have to clean them up yourself. > If it does, how can I remove those quickly with a pkg_* command? Also, > what happens if other programs I installed later use php, python, or > perl? I'm guessing they would just be left? Install and use ports-mgmnt/pkg_cutleaves. It solves these problems if you always use it to uninstall software. -- Bill Moran http://www.potentialtech.com