From owner-freebsd-questions Wed Oct 8 16:28:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA22181 for questions-outgoing; Wed, 8 Oct 1997 16:28:19 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA22131 for ; Wed, 8 Oct 1997 16:27:50 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.8.7/8.8.7) id XAA21848; Wed, 8 Oct 1997 23:55:43 +0100 (BST) Message-ID: <19971008235543.18435@pavilion.net> Date: Wed, 8 Oct 1997 23:55:43 +0100 From: Josef Karthauser To: John-David Childs Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Best way to upgrade to 2.2.5-BETA? References: <199710072130.OAA21745@wiley.csusb.edu> <19971008083934.35506@denver.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81 In-Reply-To: <19971008083934.35506@denver.net>; from John-David Childs on Wed, Oct 08, 1997 at 08:39:34AM -0600 X-NCC-RegID: uk.pavilion Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, Oct 08, 1997 at 08:39:34AM -0600, John-David Childs wrote: > On Tuesday October 7, 1997, Doug White > had this to say about "Re: Best way to upgrade to 2.2.5-BETA?": > > > On Tue, 7 Oct 1997, William Wong wrote: > > > > > Hello all, > > > > > > Can cvsup be used to upgrade an existing machine to 2.2.5-snap_date-BETA? > > > If so, is there also a list of the different tags on the cvsup sites that > > > I know I can cvsup to? > > > > > > If not, is getting the floppies from releng22.freebsd.org and then pointing > > > the ftp site to releng22.freebsd.org for the latest betas the only way to go? > > > > It's probably the best way to go. > > Having done both, upgrading via boot.flp (binaries) is a lot easier ;) On > my home machine, I installed 2.1.7 about two months ago and then built > 2.2.2-RELEASE and 2.2-STABLE via the make world process (just to learn how > the CVSUP process works, really, although my wife claims it was for > masochistic reasons). I've since upgraded to 2.2.5-BETA (10-05) via make > world. I've found an easy way to upgrade via cvsup and make world. First you cvsup the system. Then you make world until it breaks. Then for each program that breaks because it is dependant upon something that isn't installed yet just remove it from the relevent makefile and do a (cd /usr/src; make) again until it succeeds. i.e. if /usr/src/usr.sbin/ppp breaks (which it did recently, cos of a dependency on libalias) just remove it from the makefile in /usr/src/usr.sbin. Once the make (notice you only need to run make world the first time, and make from then onwards) has finished do a make install to install what you've got so far. Then cvsup to replace all the stuff you've removed from the makefiles and start again. I updated a 2.1.5 machine to RELENG_2_2 last week doing this. Easy. (Only problem? It was a 486 machine with 8mb of memory so it was _real_ slow :) Joe