From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 14:07:10 2008 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 7B1A716A418 for ; Sun, 6 Jan 2008 14:07:10 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 0E15C13C469 for ; Sun, 6 Jan 2008 14:07:09 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:52930 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JBW9d-0004ht-3W for freebsd-questions@freebsd.org; Sun, 06 Jan 2008 15:07:09 +0100 Received: (qmail 70892 invoked from network); 6 Jan 2008 15:07:05 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 6 Jan 2008 15:07:05 +0100 Received: (qmail 76970 invoked by uid 1001); 6 Jan 2008 15:07:05 +0100 Date: Sun, 6 Jan 2008 15:07:05 +0100 From: Erik Trulsson To: Walter Jansen Message-ID: <20080106140705.GA76877@owl.midgard.homeip.net> Mail-Followup-To: Walter Jansen , freebsd-questions@freebsd.org References: <000601c85065$94c24de0$0a01a8c0@680nr0j> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c85065$94c24de0$0a01a8c0@680nr0j> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JBW9d-0004ht-3W. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1JBW9d-0004ht-3W 533a5651020b07db5675e18e8f1e9bf9 Cc: freebsd-questions@freebsd.org Subject: Re: port collection RELEASE6.2 lost after reinstall with CVSUP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jan 2008 14:07:10 -0000 On Sun, Jan 06, 2008 at 02:10:59PM +0100, Walter Jansen wrote: > Hi > > > > Upon reading chapters of the Handbook about the Ports collection and CVSup, > I wanted to CVSup the ports collection for the RELEASE 6.2. Stupidly using > the wrong tag (tag=.), I erroneously but successfully installed the CURRENT > version. I could have used SYSINSTALL for the RELEASE 6.2 ports, but for the > sake of learning and training myself I did not. > > > > Problem: > > - I ran CVSup again with the correct tag but though everything in the > process looked normal, the map usr/ports remains empty and nor with whereis > nor with pkg_xxx any information about ports can be found. > > Questions: > > - What did I do wrong in the process?. You used the wrong tag. If you want the exact version of the ports tree that shipped with 6.2 the correct tag to use is "RELEASE_6_2_0". "RELENG_6_2_0_RELEASE" is the tag used for the base system corresponding to 6.2-RELEASE. > > - Is cvsup for installation of RELEASE 6.2 ports collection a bad idea > anyway (technically) ? If you actually want the ports tree as it was when 6.2-RELEASE was made, then it is not a bad idea. Most of the time one would like a more updated version of the ports tree though. > > > > Proces: > > - I use the recently installed cvsup-without-gui, installed from ports > > - I deleted all entries and maps in/under /usr/ports (as recommended in the > Handbook) > > > > - I modified the ports-supfile in usr/share/examples/cvsup and copied it to > portswj-supfile in the same map (not good practice I know now....) > > The settings in the -supfile where: > > *default host=cvsup15.FreeBSD.org > > *default base=/var/db > > *default prefix=/usr > > *default release=cvs tag=RELENG_6_2_0_RELEASE (the handbook suggests > that this is a valid tag for ports) I doubt the handbook suggests that. If it does it is wrong. > > *default delete use-rel-suffix (I could not find a meaning for this in > the books, anyone can tell me please?) Read the cvsup(1) manpage. > > *default compress > > ports-all > > > > - I ran: cvsup -L 2 /usr/share/examples/cvsup/portswj-supfile > > The conversation looked OK, no error messages but also no scrolling list of > files > > There is a logfile in /var/db/sup ports-all, something like > .cvs:RELENG_6_2_0_RELEASE. It shows a list of all the elements of the > ports collection that looks normal and every record shows also > RELENG_6_2_0_RELEASE. > > > -- Erik Trulsson ertr1013@student.uu.se