Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2002 12:59:18 +0200
From:      Axel Scheepers <axel@axel.truedestiny.net>
To:        Ivan Carey <icarey@bigpond.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: how to update a Kernel to the latest version
Message-ID:  <20020526125918.C43810@mars.thuis>
In-Reply-To: <00e801c2049f$bfe48190$0201a8c0@ivan>; from icarey@bigpond.com on Sun, May 26, 2002 at 08:26:07PM %2B1000
References:  <00e801c2049f$bfe48190$0201a8c0@ivan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 26, 2002 at 08:26:07PM +1000, Ivan Carey wrote:
> I am using FreeBSD 4.3.
> How d I update a Kernel to the latest version of 4.5 without doing a complete installation.
> 
> I wish to maintain all the configurations and files, directories etc.

The best and preffered way is to do a make world in your /usr/src,
this will rebuild your base completely, afterwards you have to run
mergemaster and make/install the new kernel.
Whenever you just build a new kernel you risk that your userland binaries
are out of sync with the kernel, like a non working ps etc.
Those programs rely on kernel structures which might have been changed
in the meantime, so just upgrading the kernel is generally a bad idea.


> 
> Also how do I update other applications without over writing any configurations etc such a Apache or PHP or Samba?

You can keep your ports up to date with CVS or cvsup, then a
make && make deinstall && make reinstall
in the port's dir will upgrade it the safest way; it will try to
build the port first, and only if that went fine it deinstalls the previous
version and installs a new one.

> 
> Thanks,
> 
> Ivan
> 

Gr,
-- 
Axel Scheepers
UNIX System Administrator

email: axel@axel.truedestiny.net
       a.scheepers@iae.nl
http://axel.truedestiny.net/~axel
------------------------------------------
"Houston, Tranquillity Base here.  The Eagle has landed."
		-- Neil Armstrong
------------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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