Subject: Re: Upgrading from 1.5.2 to -current?
To: Brad Knowles <brad.knowles@skynet.be>
From: Geoff Adams <gadams@avernus.com>
List: port-sparc
Date: 04/20/2002 20:20:19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday, April 20, 2002, at 12:54 PM, Brad Knowles wrote:

> 	Okay, I extracted the tarballs, and then I tried doing a CVS update:
>
> # setenv CVSROOT :pserver:anoncvs@anoncvs.fr.netbsd.org:/pub/NetBSD-CVS
> # cvs login
> (Logging in to anoncvs@anoncvs.fr.netbsd.org)
> CVS password:
> # cvs -d $CVSROOT update -PAd src
> Protocol error: 'Directory' missingE Protocol error: 'Directory' 
> missingE protocol error: directory '/cvsroot/basesrc' not within root 
> '/pub/NetBSD-CVS'

The 'cvs login' part looks good.

After that, you'll need to cd into your src directory. Once you do that, 
your CVS command will look like this:

# cd src
# cvs -d $CVSROOT update -PAd

You need to do this from within the src directory because the 'cvs 
update' command looks for the CVS directory in your current directory to 
find the list of Entries to update. Note that if the CVSROOT is correct 
in the CVS directories within your source tree, you can reduce that 
command to simply:

# cvs update -PAd

(I haven't checked whether the CVSROOT that's in the CVS directories in 
the tarballs is appropriate; you could find out by just doing a 'cat 
CVS/Root' from the top-level src directory, for instance, and verify 
that it contains exactly ":pserver:anoncvs@anoncvs.netbsd.org:/cvsroot".)

- - Geoff

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Darwin)
Comment: For info see http://www.gnupg.org

iD8DBQE8wgXEQz98e6UCqO0RAgGXAKDYx2YmKQBGqGcye5jdhZ81S6TfCQCfcj1V
EvZXOlzVJzqvdAu4aMI329o=
=zyQ0
-----END PGP SIGNATURE-----