From owner-freebsd-current@FreeBSD.ORG Mon Sep 11 19:44:47 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16BF216A40F for ; Mon, 11 Sep 2006 19:44:47 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F3AC43D5A for ; Mon, 11 Sep 2006 19:44:44 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 3198 invoked by uid 399); 11 Sep 2006 19:44:43 -0000 Received: from localhost (HELO ?192.168.0.3?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 11 Sep 2006 19:44:43 -0000 Message-ID: <4505BCA8.4000708@FreeBSD.org> Date: Mon, 11 Sep 2006 12:44:40 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.5 (X11/20060729) MIME-Version: 1.0 To: Alex Burke References: In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD CURRENT Subject: Re: Removing ports based on library dependency X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2006 19:44:47 -0000 Alex Burke wrote: > Hi, > > Apologies if this would seem to be the wrong list for this post. > > I want to upgrade one of my FreeBSD boxes running 6.0 to CURRENT. I > know that this involves rebuilding ports so they link against > libc.so.7 and all associated libraries. > > I guess the small problem is that I really only want to upgrade > certain ports, since the machine has a ton of stuff I really would > like to get rid of. I can set those individual port upgrades off > myself with portmaster. However, I would then want to delete all the > ports that I didn't upgrade...and presumably that would mean checking > what was still compiled against libc.so.6 The traditional way to handle a major version upgrade for ports is to delete all the installed ports, then start over again from scratch (with just the ports, not reinstalling the whole system). Given what you described above, I would say that would be the most efficient way to handle your situation anyways. What you might want to do is run portmaster -l now, then save the lists of root and leaf ports. If you then use portmaster to reinstall the ports from those 2 lists that you are sure you want on your -current system, it will handle the libraries for you. hth, Doug -- This .signature sanitized for your protection