From owner-freebsd-questions@FreeBSD.ORG Sun Jan 6 17:50:25 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 536AC16A419 for ; Sun, 6 Jan 2008 17:50:25 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from smtp-gs.math.arizona.edu (math051.cs.arizona.edu [150.135.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 3D82E13C43E for ; Sun, 6 Jan 2008 17:50:25 +0000 (UTC) (envelope-from punosevac@math.arizona.edu) Received: from Debian-exim by smtp-gs.math.arizona.edu with local-bsmtp (Exim 4.63) (envelope-from ) id 1JBZdf-0004aZ-N3 for freebsd-questions@freebsd.org; Sun, 06 Jan 2008 10:50:24 -0700 Received: from 71-220-128-188.tcsn.qwest.net ([71.220.128.188] helo=.domain.actdsltmp) by smtp-gs.math.arizona.edu with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JBZdP-0004a5-3y; Sun, 06 Jan 2008 10:50:07 -0700 Message-ID: <478114C9.5010400@math.arizona.edu> Date: Sun, 06 Jan 2008 10:50:01 -0700 From: Predrag Punosevac User-Agent: Thunderbird 2.0.0.6 (X11/20070916) MIME-Version: 1.0 To: Walter Jansen , freebsd-questions@freebsd.org References: <000601c85065$94c24de0$0a01a8c0@680nr0j> <20080106140705.GA76877@owl.midgard.homeip.net> In-Reply-To: <20080106140705.GA76877@owl.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ACL-Warn: The HELO/EHLO greeting .domain.actdsltmp is invalid X-Outgoing-Spam-Score: -1.2 (-) Cc: 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 17:50:25 -0000 Erik Trulsson wrote: > 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. >> >> >> >> > > One idiotic question on the top of his troubles. According to the disclaimer posted on the ports web-site. The ports tree supports only Stable and Current version of the OS. Since Release is sort of more stable than the Stable I wonder if there is a frozen ports three with frozen packages for 6.2 release? Personally, I was always following stable branch which is moving target as you know. One needs to portsnap fetch and update ports three before every build up and also portupgrade has to be done fairly regularly. Personally, I could not care less for the newest versions of the programs as long as the old one are stable so for me staying with release would be perfectly OK.