From owner-freebsd-questions@FreeBSD.ORG Fri Jan 26 13:09:23 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 AC34316A400 for ; Fri, 26 Jan 2007 13:09:23 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.234]) by mx1.freebsd.org (Postfix) with ESMTP id 72C3513C458 for ; Fri, 26 Jan 2007 13:09:23 +0000 (UTC) (envelope-from greenwood.andy@gmail.com) Received: by wr-out-0506.google.com with SMTP id 71so623278wri for ; Fri, 26 Jan 2007 05:09:23 -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=maEJMu7tSWuf2XIuG78t85l65nkoFSLpZjZkGQmKJ/WvScwbSZD1wwyt5BYcqWDgYSOMNRuUqtEWwn09gnEHqhao85mTYYouaZf325Jy+XgvZbLecCIDpUaPVdN5e90j0HsYrFh8sMWtwmDimkgKLw6ckr4B901csUFDHZtVDJo= Received: by 10.78.97.7 with SMTP id u7mr2215009hub.1169816962182; Fri, 26 Jan 2007 05:09:22 -0800 (PST) Received: by 10.78.135.20 with HTTP; Fri, 26 Jan 2007 05:09:22 -0800 (PST) Message-ID: <3ee9ca710701260509v5b7d49a1l64e65ca898318b5d@mail.gmail.com> Date: Fri, 26 Jan 2007 08:09:22 -0500 From: "Andy Greenwood" To: "Philip Hallstrom" In-Reply-To: <20070125233227.D47013@bravo.pjkh.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> <20070125233227.D47013@bravo.pjkh.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 13:09:23 -0000 On 1/26/07, Philip Hallstrom wrote: > > 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. I prefer portmanager -slid. > > I've always used pkg_rmleaves... pops up a nice little dialog listing all > the ports that aren't required by any other ports... check the ones you > want to get rid of... on my non-serious boxes I tend to check anything I > don't recognize and/or things I know I want gone. > > Then it repeats the process with any new ports that are no longer required > due to anything you just removed. > > Seems to work pretty well for me... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- -- I'm nerdy in the extreme and whiter than sour cream