From owner-freebsd-questions@FreeBSD.ORG Wed Nov 21 18:34:28 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 479ED16A41A for ; Wed, 21 Nov 2007 18:34:28 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id B8AF813C447 for ; Wed, 21 Nov 2007 18:34:27 +0000 (UTC) (envelope-from chrcoluk@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so198947uge for ; Wed, 21 Nov 2007 10:34:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=hJkfkyPMkiJ3xG6JRRfmi89KXwVgw/8OK2coCfa9v9s=; b=Sh1x7w6uUCob6k4r/b5g9zzNvlswRQrkStttEX4OiqJ1Qk077ErbAFI+p95WeCl11QQfBmND/XexjTOYBoQWITcBXE98eOQUdJIvMFQ/ufcdf4V+nSAhIsmfur5j/fLbCbTaU8jDatOC1/rovCkJhz2bhxbo94ftvtylR/iEF7g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FCszByQfZTYpvjlTqiZc2+sCLvZwJR51w/Gfdp8iUe/H8CAngl/DVQ3T/Ia+HAHglEQQp0gDg+UOio3A8lVxtJmBdW76msyBuvFIQwMhXjNiBjKPtsVIt4hbt9xNHvAio1+lvba9NJeWbYIoBdtox78C5NJIkbQ0FicIgfm211Y= Received: by 10.67.115.19 with SMTP id s19mr3070ugm.1195668452850; Wed, 21 Nov 2007 10:07:32 -0800 (PST) Received: by 10.66.250.6 with HTTP; Wed, 21 Nov 2007 10:07:32 -0800 (PST) Message-ID: <3aaaa3a0711211007u689c41beg8d9d2fe4fdb4f5ee@mail.gmail.com> Date: Wed, 21 Nov 2007 18:07:32 +0000 From: Chris To: "Mario Lobo" , freebsd-questions@freebsd.org In-Reply-To: <20071108183239.GA65453@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711081455.39635.cesar@expresso.com.br> <200711081448.48390.mario.lobo@ipad.com.br> <20071108183239.GA65453@slackbox.xs4all.nl> 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: Wed, 21 Nov 2007 18:34:28 -0000 On 08/11/2007, Roland Smith wrote: > On Thu, Nov 08, 2007 at 02:48:47PM -0300, Mario Lobo wrote: > > > Concerning this, I've "cvsuping" to 6-CURRENT on a dual-core desktop. The > > system is running well, but I'd really like to move up to 7. Can it be done > > through cvsup from 6.2-STABLE to 7-CURRENT or is it "wiser" to install from > > scratch? any upgrade gotchas/procedure ? > > It _can_ be done. (I've done it). > > First, make a list of all your ports (portmaster -L works fine for > that). Then csup to RELENG_7. Then follow the instructions from > /usr/src/Makefile (the bit about 'upgrade their source'). I've outlined > the process below, with my own additions marked with lowercase letters > > > 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. > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > > Interesting so I learnt 2 things here csup exists so no need to install cvsup and I should run 'make delete-old-libs' . Basically I have done the following. 1 - upgraded world and kernel, mergemaster etc. 2 - reinstalled all ports portupgrade -af 3 - installed compat6x I have not ran 'make delete-old-libs' I thought the old libs were removed because after I booted up into the 7.0 world alot of ports didnt work as libs they linked to were missing so had to be recompiled anyway to even run. Do I run 'make delete-old-libs' in /usr/src ? Chris