From owner-freebsd-questions@FreeBSD.ORG Wed Jun 8 14:13:42 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60AF5106564A for ; Wed, 8 Jun 2011 14:13:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 212B88FC15 for ; Wed, 8 Jun 2011 14:13:41 +0000 (UTC) Received: from r55.edvax.de (port-92-195-63-204.dynamic.qsc.de [92.195.63.204]) by mx02.qsc.de (Postfix) with ESMTP id 7356B1E76A; Wed, 8 Jun 2011 16:13:40 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p58EDd3T003373; Wed, 8 Jun 2011 16:13:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 8 Jun 2011 16:13:39 +0200 From: Polytropon To: "Dave" Message-Id: <20110608161339.7d30a1ff.freebsd@edvax.de> In-Reply-To: <4DEF7394.24571.13944CBE@dave.g8kbv.demon.co.uk> References: <201106072253.p57MrAf9094015@fire.js.berklix.net> <4DEF7394.24571.13944CBE@dave.g8kbv.demon.co.uk> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Sorry. Numpty alert! FreeBSD Jails... Help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2011 14:13:42 -0000 On Wed, 08 Jun 2011 14:05:24 +0100, "Dave" wrote: > On 8 Jun 2011 at 0:53, Julian H. Stacey wrote: > > > > and AFIK have downloaded all the sys and ports > > > sources.. How do I confirm that, > > > > cd /usr/src > > make clean ; make cleandir ; make clean # gets rid of obj > > du -s -k > > 547684 . > > "cant cd to /usr/src/share/info > *** Error code 2 > > Stop in /usr/src. > *** Error code 1 > > Stop in /urs/src. > You have new mail. > (Contents of the mail is the usual sustem/security stuff) > > I figure something else is missing, so didn't bother with anything else. You really need to have the complete sources. There are many ways to get them (e. g. using sysinstall, traditionally not recommended in the first place), loading them from the CD or DVD (works if you need -RELEASE), or obtaining them per CVS. Here's a short solution that will also work with incomplete (partially present) src/ subtrees. First, add this to /etc/make.conf: SUP_UPDATE=yes SUP=/usr/bin/csup SUPFLAGS=-g -L 2 SUPHOST=cvsup.freebsd.org SUPFILE=/etc/sup/stable.sup Then create /etc/sup/stable.sup with the following content: *default host=cvsup.freebsd.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_8 *default delete use-rel-suffix *default compress src-all This of course assumes that you want 8-STABLE sources. And instead of cvsup.freebsd.org, you can select a mirror near your location. Refer to the Handbook for the CVS tags to supply. If you've done all that, go: # cd /usr/src # make update (You should at least have the "base" src pack because of the Makefile installed.) You can use this to update your sources any time you want. Instead of -STABLE, you can also request -RELEASE, -RELEASE-pX (the security branch), or -CURRENT. (You can use a similar approach to get the ports/ subtree updated, but portsnap is much faster.) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...