From owner-freebsd-questions@FreeBSD.ORG Fri Jan 26 01:33:01 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 D21B116A400 for ; Fri, 26 Jan 2007 01:33:01 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id 6E60B13C45B for ; Fri, 26 Jan 2007 01:33:01 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so566682uge for ; Thu, 25 Jan 2007 17:33:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TnjQ4Wm2A/MmzBNeqsi3BVR9EmTAFtPteP9Hg/uRW6YvwS6UhP89T7BRc8gFc/l04CFCCUt3FixpTHBf7os7oGfhfK2RSlcbDJSieXeUBKPh5KbdQKO8SCwDAohtAjUff4mNZzUV5a3zDfevs8kw072lhCK8SE8/K/VyN2EeUHY= Received: by 10.82.120.15 with SMTP id s15mr1645489buc.1169775180075; Thu, 25 Jan 2007 17:33:00 -0800 (PST) Received: by 10.82.176.4 with HTTP; Thu, 25 Jan 2007 17:32:59 -0800 (PST) Message-ID: Date: Thu, 25 Jan 2007 19:32:59 -0600 From: "illoai@gmail.com" To: "Bill Moran" In-Reply-To: <20070125194925.70872a21.wmoran@collaborativefusion.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45B94861.6010404@mail.zedat.fu-berlin.de> <20070125194925.70872a21.wmoran@collaborativefusion.com> Cc: "O. Hartmann" , freebsd-questions@freebsd.org Subject: Re: 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 01:33:01 -0000 On 25/01/07, Bill Moran wrote: > In response to "O. Hartmann" : > > > 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? > > sysutils/pkg_cutleaves > portupgrade includes pkg_deinstall, which has switch to recursively remove all dependancies which are no longer used by any other pkg/port, which is a way to head this sort of thing off at the pass. -- --