*BSD News Article 96349


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!corolla.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Upgrading 2.1.x to 2.2.2-RELEASE
Date: Sun, 25 May 1997 12:38:03 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 35
Message-ID: <3387A60B.1064@OntheNet.com.au>
References: <chad-2305972230300001@sverige.pengar.com>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Chad Leigh <chad@pengar.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41755

Chad Leigh wrote:
> 
> Hi
> 
> What is the best way to go about upgradng running 2.1.x (where x is a high
> number :-) systems to 2.2.2-RELEASE .

Basically, I can think of only two ways-

(a)  Manually save the {/etc,/usr/local,???} directory trees somewhere
that won't get clobbered by a clean install, and then do a 'fresh'
install of 2.2.2 telling it to newfs the partitions.  After the install
is complete, restore those file that you need from you previous copy. 
You may need to recompile/relink images but you have make file for that
don't you so this is easy!

(b)  Use the 'Upgrade' option which doesn't newfs your existing
partitions.  It simply "dumps" the new 2.2.2 images/libraries/headers
over the top of your existing system after saving the /etc directory
tree.

While option (b) looks like 'goodness', I did have problems getting
Squid (1.1.9) running on a 2.1.7 system that was 'Upgraded' to 2.2.1
even though I recompiled and relinked the Squid images.  I couldn't get
squid to fire up because it kept failing the DNS check (gethostbyname()
returned a NULL pointer).  I suspect that there was a shared library
mismatch somewhere.  I then fell back to the (a) option and everything,
including Squid, worked a treat!

I'll admit that I didn't install the compat21 subset during the
'Upgrade' but I though that a recompile/relink would make this
unnecessary.  If you take the (b) option but elect to _NOT_ recompile
your binaries, you will definitely need to install the compat21 stuff!

Tony