From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 20:32:24 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F9F116A473 for ; Thu, 8 Nov 2007 20:32:24 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 79C1213C4BF; Thu, 8 Nov 2007 20:32:23 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47337256.8040805@FreeBSD.org> Date: Thu, 08 Nov 2007 21:32:22 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Matthew Seaman , Mario Lobo , freebsd-questions@freebsd.org References: <200711081455.39635.cesar@expresso.com.br> <200711081448.48390.mario.lobo@ipad.com.br> <20071108183239.GA65453@slackbox.xs4all.nl> <4733633E.2050800@infracaninophile.co.uk> <20071108195436.GA67970@slackbox.xs4all.nl> In-Reply-To: <20071108195436.GA67970@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: About Freebsd 7.0 versus 6.3 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: Thu, 08 Nov 2007 20:32:24 -0000 Roland Smith wrote: > On Thu, Nov 08, 2007 at 07:27:58PM +0000, Matthew Seaman wrote: >>> a. Make backups >>> b. Read /usr/src/UPDATING >>> 1. `cd /usr/src' (or to the directory containing your source tree). >>> 2. `make buildworld' >>> 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). >>> 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). >>> [steps 3. & 4. can be combined by using the "kernel" target] >>> 5. `reboot' (in single user mode: boot -s from the loader prompt). >>> 6. `mergemaster -p' >>> 7. `make installworld' >>> 8. `make delete-old' >>> 9. `mergemaster' >>> 10. `reboot' >>> c. `pkg_delete -a' (delete all your ports) >>> 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) >>> d. Reinstall all root and leaf ports. Dependencies will then be >>> installed automatically. >> I went through this process myself in pretty much the order you >> describe. Due to bitter experience, I'd say that reinstalling >> all ports should be done before 'make delete-old-libs' -- by >> killing all the old 6.x shlibs you make it hard to run most >> software previously installed under 6.x including such things as >> 'portupgrade'... >> >> You don't need to delete all the ports in one go and then reinstall >> them in another: running 'portupgrade -fa' will do the job. > > Port upgrade tools are not guaranteed to work perfectly in this > situation. I tried doing an update with portmanager and ended up with > some binaries linked against both libc.so.6 and libc.so.7! Some ports > didn't even compile. portmanager isn't recommended for use since it became abandonware a long time ago and never reached maturity. If you (correctly ;) use portupgrade (e.g. -fa or -faP) then you will not have this problem. Kris