Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 18:29:34 +0100
From:      Matthew Seaman <matthew@cryptosphere.com>
To:        Marco Greene <mwegreene@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Patches &Upgrades
Message-ID:  <20031015172934.GD85354@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <BAY8-F17Zf4zydiVvqX000051a4@hotmail.com>
References:  <BAY8-F17Zf4zydiVvqX000051a4@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--HnQK338I3UIa/qiP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Oct 15, 2003 at 12:56:06PM -0400, Marco Greene wrote:
> New to FreeBSD.  Have looked through the documentation at length and have=
=20
> figure almost everything out that I am trying to use but have a few=20
> questions.  Have been working with other versions of UNIX, mainly Solaris=
=20
> and AIX.  We have 4 servers running production using 4.2 and I have been=
=20
> testing the upgrade procedure that is documented.
>=20
> I have tried:
> cvsup...make buildworld...make installworld.  Took a long time but it=20
> seemed to work...however, when I rebooted, still said 4.2...I was expecti=
ng=20
> 4.8.  How can you confirm current version of FreeBSD.  Shouldn't it say 4=
=2E8?

Err... What exactly said '4.2?' The version number line near the top
of the /var/run/dmesg.boot output or the result of 'uname -r' should
be considered authoritative, and if that is still saying 4.2 then it
seems that your attempt to upgrade has gone somewhat awry.

I note that you don't mention updating the kernel -- which is probably
just economy of typing, but you should know that you can't upgrade the
'world' independently of the kernel.  In fact, on due consideration,
not upgrading the kernel would result in the symptoms you're seeing.
If that is what you've managed to do, then you'll find that various
small but important programs like 'ps' and 'top' fail to work and
there can be various other unfortunate effects which may not be
immediately apparent.
=20
> I also tried the CD upgrade process...didn't work...when it tried to star=
t=20
> installing the distribution it said that it couldn't mount the cd onto=20
> /dist.  Installing from this particular CD seems to work fine.  However,=
=20
> booting from the CD and doing an upgrade seems a little strange.
>=20
> Now about patches...
> You don't seem to download patches the way you do for Solaris or AIX.  It=
=20
> looks like you have to do the cvsup...make buildworld and make installwor=
ld=20
> thing. This seems like a risky way to do patch installs.  Are there=20
> pre-packaged binary patches available and if so what is the patching=20
> mechanism that should be used.

Take a look at http://www.daemonology.net/freebsd-update/ which does
provide precisely the binary patches you want, although it requires
that you start with one of the release versions installed from CD Rom
*without* locally recompiling the sources.

I'd contend that upgrading from source is no more risky than upgrading
using binary patches, and quite possibly the converse.  Each has it's
advantages and disadvantages

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--HnQK338I3UIa/qiP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQE/jYP+dtESqEQa7a0RAsOXAJ46ry/CLj9DnZmpxpDmx+COsUq+LQCgkLbr
BfRP9Dlfj+DeRRsfAtrxn3U=
=vWxx
-----END PGP SIGNATURE-----

--HnQK338I3UIa/qiP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031015172934.GD85354>