From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 20:30:42 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 3BC5016A417 for ; Thu, 8 Nov 2007 20:30:42 +0000 (UTC) (envelope-from ivan@kytex.bg) Received: from k2smtpout04-01.prod.mesa1.secureserver.net (k2smtpout04-01.prod.mesa1.secureserver.net [64.202.189.166]) by mx1.freebsd.org (Postfix) with SMTP id EF0F513C4A3 for ; Thu, 8 Nov 2007 20:30:41 +0000 (UTC) (envelope-from ivan@kytex.bg) Received: (qmail 30760 invoked from network); 8 Nov 2007 20:01:20 -0000 Received: from unknown (HELO vh.kytex.net) (208.109.92.156) by k2smtpout04-01.prod.mesa1.secureserver.net (64.202.189.166) with ESMTP; 08 Nov 2007 20:01:18 -0000 Received: (qmail 32724 invoked from network); 8 Nov 2007 22:01:18 +0200 Received: from unknown (HELO dune) (89.252.214.155) by ip-208-109-92-149.ip.secureserver.net with SMTP; 8 Nov 2007 22:01:17 +0200 Date: Thu, 8 Nov 2007 22:00:52 +0200 From: Ivan Georgiev To: Matthew Seaman Message-Id: <20071108220052.be85e37b.ivan@kytex.bg> In-Reply-To: <4733633E.2050800@infracaninophile.co.uk> References: <200711081455.39635.cesar@expresso.com.br> <200711081448.48390.mario.lobo@ipad.com.br> <20071108183239.GA65453@slackbox.xs4all.nl> <4733633E.2050800@infracaninophile.co.uk> Organization: Ivan Georgiev X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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:30:42 -0000 On Thu, 08 Nov 2007 19:27:58 +0000 Matthew Seaman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > 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. > > 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. That can > take several days to complete if you've got a machine with OpenOffice, > Firefox, Thunderbird, Java, KDE, Gnome, X Windows etc. installed. If > you're careful you can still keep various services running during that > time, restarting them one by one as the various applications get > upgraded. > > Cheers, > > Matthew > > > - -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > Kent, CT11 9PW > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.4 (FreeBSD) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFHM2M98Mjk52CukIwRCKH4AJ4gJIT44n362bBx5HoJBmH7lK7btgCeIRnM > Q96Es35B8i1R02vB/ZjkjY4= > =2Ogk > -----END PGP SIGNATURE----- > _______________________________________________ > 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" > You could have avoided the missing libs problem by installing the misc/compat6x port. Its purpose is to provide legacy 6.X libraries for apps to use. Regards: Ivan