OpenBSD Geek <open...@e-solutions.re> writes:

> Hi, I just installed an OpenBSD 4.7. 
>
> Now i want to update it to 4.7
> -current what i ve done : cd /usr/src ; tar zxvf src.tar.gz ; tar zxvf
> sys.tar.gz 

You're at least six months too late to get 4.7-current.  After those
steps you have 4.7-release and matching sources unpacked.

> cd /usr 
>
> export cvsroot=anon...@anoncvs.fr.openbsd.org:/cvs
>
>
> cvs -d$CVSROOT checkout -P src 
>
> cd /usr/src cvs -d $CVSROOT up -Pd

and this gives you the source of today's -current source, which is
somewhere significantly past 4.8.  You've skipped too many
intermediate steps, and the result is what the FAQ and other sources
warn you about.  

Assuming it's -current you want (now *4.8*-current), the only useful
way to go is to install the most recent snapshot you can get your
hands on and go from there.

Then again, it's usually painless to go about it like this:

1) fetch the most recent snapshot install files available to a local directory

2) cd to that directory and run sysmerge -x etcNN.tgz -s etcNN.tgz

   (that will work in most cases, but there's always a risk you will need to do
   some hand editing if your setup is old enough, then again this isn't really
   the supported way)

3) copy the snapshot's bsd.rd to /

4) reboot; boot bsd.rd

5) follow the friendly prompts, choose disk and your local directory
   as the install source.

couldn't be easier really.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to