Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2006 11:14:58 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        KAYVEN RIESE <kayve@sfsu.edu>
Cc:        ports@freebsd.org, Scot Hetzel <swhetzel@gmail.com>
Subject:   Re: no /usr/ports
Message-ID:  <20060906181458.GB21979@icarus.home.lan>
In-Reply-To: <Pine.SOC.4.64.0609061049570.9534@libra.sfsu.edu>
References:  <Pine.SOC.4.64.0609061021530.9534@libra.sfsu.edu> <790a9fff0609061035p40734023h6a448512cdba56e3@mail.gmail.com> <Pine.SOC.4.64.0609061049570.9534@libra.sfsu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 06, 2006 at 10:50:04AM -0700, KAYVEN RIESE wrote:
> ortsnap: URL must be given via command line or configuration file.
> kayve# /usr/local/sbin/portsnap extract
> No snapshot available.  Try running
> # portsnap fetch
> kayve# pkg_add -r cvsup
> Fetching 
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/Latest/cvsup.tbz... 
> Done.
> kayve# cvsup -L 2 -h cvsup.FreeBSD.org 
> /usr/share/examples/cvsup/ports-supfile
> cvsup: Command not found.
> kayve# whereis cvsup
> cvsup: /usr/local/bin/cvsup /usr/local/man/man1/cvsup.1.gz
> kayve# /usr/local/bin/cvsup -L 2 -h cvsup.FreeBSD.org 
> /usr/share/examples/cvsup/ports-supfile
> Cannot get IP address of my own host -- is its hostname correct?
> kayve# /usr/local/bin/cvsup -L 2 -h cvsup FreeBSD.org 
> /usr/share/examples/cvsup/ports-supfile
> "/usr/share/examples/cvsup/ports-supfile" is not a directory
> kayve#

Good grief.

1) cvsup wasn't found (when you tried to run it) because the shell
   for root is csh/tcsh.  When binaries are added/removed from
   directories in $PATH, you're required to type "rehash" to pick
   up the changes.  This is specific to csh/tcsh.

2) It doesn't look like the host has its local network configured
   in a proper manner.  How cvsup determines this is beyond me;
   your network must work *somehow* since your pkg_add worked.

3) Your last cvsup attempt was incorrect because you replaced a
   period/dot in the hostname cvsup.FreeBSD.org with a whitespace,
   which messed up the arguments passed to cvsup.

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP: 4BD6C0CB |




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