From owner-freebsd-questions@FreeBSD.ORG Fri Jan 26 00:41:14 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 0804016A400 for ; Fri, 26 Jan 2007 00:41:14 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id BBDF113C465 for ; Fri, 26 Jan 2007 00:41:13 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.66) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1HAElc-0004Nm-4I>; Fri, 26 Jan 2007 01:16:32 +0100 Received: from e178014207.adsl.alicedsl.de ([85.178.14.207] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.66) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1HAElc-0006Wy-1U>; Fri, 26 Jan 2007 01:16:32 +0100 Message-ID: <45B94861.6010404@mail.zedat.fu-berlin.de> Date: Fri, 26 Jan 2007 01:16:33 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.9 (X11/20070120) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.14.207 Subject: Messy ports, how to clean them up? 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: Fri, 26 Jan 2007 00:41:14 -0000 Well, I use portsnap and portupgrade on a regular basis and therefore I could watch very often the rebuild of ports - a nice and neat thing of FreeBSD. Bit sometimes I or someone else installs ports an they install dependencies and then he/she or I decide to kill/delete a specific port, but very often dependencies remains on the system and doing this deletion a couple of times will end in some 'zombie' remains of ports. Is there a way cleaning up automatically a messy ports collection? Like portupgrade does, only the opposite way, not rebuilding/reinstalling a rebuilt/upgraded port, looking for stale ports never used anymore by another port? Thanks a lot in advance, Oliver P.S. I'm not very familiar with the complexicity of the pkgtoolset and ports collection, sorry. -- O. Hartmann