From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 23:00:42 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 784B916A419 for ; Fri, 19 Oct 2007 23:00:42 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 1953513C455 for ; Fri, 19 Oct 2007 23:00:42 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.172.12.173] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1Ij0pa-0001cz-Qw; Sat, 20 Oct 2007 03:00:38 +0400 To: Doug Poland References: <47191A24.8010309@polands.org> <20071019215215.GA76786@owl.midgard.homeip.net> <471929E6.3050505@polands.org> From: Boris Samorodov Date: Sat, 20 Oct 2007 03:03:39 +0400 In-Reply-To: <471929E6.3050505@polands.org> (Doug Poland's message of "Fri\, 19 Oct 2007 17\:04\:22 -0500") Message-ID: <89346068@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: Ports and updating 6.2-STABLE to 7.0-PRERELEASE 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, 19 Oct 2007 23:00:42 -0000 On Fri, 19 Oct 2007 17:04:22 -0500 Doug Poland wrote: > Erik Trulsson wrote: > > On Fri, Oct 19, 2007 at 03:57:08PM -0500, Doug Poland wrote: > >> Hello, > >> > >> I've just updated my system to 7.0-PRERELEASE from 6.2-STABLE on > >> i386 and I was wondering what the recommendation is for ports. > >> Specifically, is it necessary to rebuild all ports? > >> > >> So far, I haven't rebuilt any ports and haven't had any problems... > > > > It is not strictly necessary to rebuild all ports, but I would recommend it > > and if you start to install any new ports then you should rebuild all the > > old ones first. > > > > Having some ports linked against 6.x libraries while some are linked > > against 7.x libraries can very easily lead to problems. > > (If one of your old ports (linked against 6.x libraries) provides some > > library which is used by one of the new ports (using 7.x libraries) then the > > new port can end up using two version of the same system library - both the > > 6.x version and the 7.x version. This will almost certainly not work > > correctly.) > > > Thank you for the info, I think I'll rebuild my ports. I imagine I > could then use > # portsclean --libclean Shouldn't it remove only libraries from ports? > to get rid of those 6.x libraries and have a nice *clean* system. If you want to get a clean system and to get rid of 6.x libraries from base system you may be interested in "make delete-old[-libs|-dirs]" at /usr/src. More info at /usr/src/UPDATING and /usr/src/Makefile. WBR -- bsam