From owner-freebsd-questions@FreeBSD.ORG Tue Feb 1 01:32:44 2005 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 2A91D16A4CE for ; Tue, 1 Feb 2005 01:32:44 +0000 (GMT) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E7DD43D1F for ; Tue, 1 Feb 2005 01:32:43 +0000 (GMT) (envelope-from laplante@cat.rpi.edu) Received: from CYBERDOGT42 (laplam.stu.rpi.edu [128.113.151.85]) by smtp3.server.rpi.edu (8.13.0/8.13.0) with ESMTP id j111WhkT007090 for ; Mon, 31 Jan 2005 20:32:43 -0500 Message-Id: <200502010132.j111WhkT007090@smtp3.server.rpi.edu> From: "Matt LaPlante" To: Date: Mon, 31 Jan 2005 20:32:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 Thread-Index: AcUH/etOX8AyyAAMQkierfRYhlBwjw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) Subject: Cleaning Out Ports? 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: Tue, 01 Feb 2005 01:32:44 -0000 I know the ports system is designed to install dependencies automatically, but how does one go about removing them? Say one large package installs several dependencies, but then later on that package is removed...and now we're left with several orphaned packages. Is there a way to either detect, or even automatically clean out orphaned packages? I'm particularly concerned because I'm dealing with a few systems which are rather well aged, and have gone through several upgrade cycles. I know the Linux version of the ports system found in Gentoo (portage) offers extensive functionality for finding and removing orphaned dependencies, so I'm hoping FreeBSD has some such feature as well. Thanks. - Matt