From owner-freebsd-doc Sun Oct 19 19:36:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA19377 for doc-outgoing; Sun, 19 Oct 1997 19:36:42 -0700 (PDT) (envelope-from owner-freebsd-doc) Received: from cerebus.asmrb.org (dynamic-addr-116.consensus.com [157.22.240.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA19372 for ; Sun, 19 Oct 1997 19:36:39 -0700 (PDT) (envelope-from gmfangs@asmrb.org) Received: from lr8e1-port1.zocalo.net (lr8e1-port1.zocalo.net [157.22.1.251]) by cerebus.asmrb.org (8.8.5/8.8.5) with ESMTP id TAA00500 for ; Mon, 20 Oct 1997 19:34:07 -0700 (PDT) Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 19 Oct 1997 19:37:15 -0700 To: freebsd-doc@FreeBSD.ORG From: Christopher Allen Subject: Problem based on Handbook answer Sender: owner-freebsd-doc@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I just installed FreeBSD, and discovered that my ports directory wasn't current. In it says: >Let's try something more ambitious now. Instead of getting a single port >skeleton, let's get a whole sub-directory, for example all the database >skeletons in the ports collection. It looks almost the same:- > > # cd /usr/ports > # ftp ftp.freebsd.org > [log in as `ftp' and give your email address when asked for a > password. Remember to use binary (aka image) mode!] > > cd /pub/FreeBSD/ports > > get databases.tar.gz [tarballs up the databases directory for us] > > quit > # tar xzf databases.tar.gz [extract all the database skeletons] > # cd databases > # make install [build and install all the database ports] I did all of the above, and grabbed a bunch of skeletons (www, net, security, etc.) to my newly installed FreeBSD machine, and I used binary mode to transfer. However, when I got to the part to untar the files, I got the following message: >#tar xvf www.tar.gz >tar: Hmm, this doesn't look like a tar archive. >tar: Skipping to next file header... >tar: only read 4672 bytes from archive www.tar.gz >cerebus gmfangs 176 7:23pm /usr/ports # This happened on the other files as well. 1) What is my problem? 2) Is there any way to easily refresh all the skeletons without accidentally copying the distfiles/ directory? My ideal would be just a script that would delete all the ports/ directory except for the distfiles/ and redownload the latest version. ----------------------------------------------------------------------- .. Christopher Allen 1563 Solano Ave., #353 .. .. ;-> Berkeley, CA 94707-2116 .. .. h510/528-9899 .. .. f510/649-3301 o510/649-3300 ..