From owner-freebsd-questions@FreeBSD.ORG Mon Aug 21 19:02:45 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEF0916A4E1 for ; Mon, 21 Aug 2006 19:02:45 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout2.cac.washington.edu (mxout2.cac.washington.edu [140.142.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DA1043D45 for ; Mon, 21 Aug 2006 19:02:45 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout2.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.03) with ESMTP id k7LJ2iI7027266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Aug 2006 12:02:44 -0700 X-Auth-Received: from [128.208.5.99] (nilakantha.cs.washington.edu [128.208.5.99]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.03) with ESMTP id k7LJ2ifA004258 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 21 Aug 2006 12:02:44 -0700 Message-ID: <44EA0352.7020206@u.washington.edu> Date: Mon, 21 Aug 2006 12:02:42 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200608211444.50152.gerard@seibercom.net> In-Reply-To: <200608211444.50152.gerard@seibercom.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.0.264296, Antispam-Engine: 2.4.0.264935, Antispam-Data: 2006.8.21.114442 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: [OT] CVSUP (was "Re: Was: Re: Why This Infinite Loop??") 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: Mon, 21 Aug 2006 19:02:45 -0000 Gerard Seibert wrote: > On Monday 21 August 2006 13:55, apredoehl@go.mailsvc.com wrote: > >> On Mon, 21 Aug 2006 13:14:10 -0400 beno wrote: >> >>> Gerard Seibert wrote: >>> >>>> To update portmanager, assuming you have an >>>> up-to-date port system: >>>> >>>> cd /usr/ports/sysutils/portmanager >>>> male install & make clean >>>> >>> Well, here's exactly what I'm doing: >>> >>> cd /usr/ports/sysutils/portmanager >>> >>> make install >>> make clean >>> /usr/local/bin/portmanager -u -f -l -y >>> >>> and then it proceeds to go back into its infinite >>> loop!!! This is what I'm trying to avoid!!! I >>> presume the reason it does that is because it >>> HASN'T upgraded and is STILL at version 0.2.0_1 >>> >> Caution: I am new at answering questions, so someone >> please chime in if I make a mistake. >> >> beno, here is a guess: the reason this is happening is >> that your ports tree (that is, /usr/ports/*) is probably >> old. The version numbers, checksums, and much more, for >> EVERY port is stored in the ports tree. Unless you update >> your ports tree, just deinstalling and reinstalling a port >> won't make it any newer. >> >> There are a few ways to update your ports tree. Chapter 4 >> of the handbook describes a few ways. Personally I like >> to use cvsup(1). >> >> If you use cvsup(1) you can either update your entire >> ports tree or just part of it. Here is text straight out >> of the handbook >> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html >> ) >> >> "...As root, copy /usr/share/examples/cvsup/ports-supfile >> to a new location, such as /root or your home directory. >> >> Edit ports-supfile. >> >> Change CHANGE_THIS.FreeBSD.org to a CVSup server near you. >> See CVSup Mirrors (Section A.5.7) for a complete listing >> of mirror sites. >> >> And now to run cvsup, use the following: >> # cvsup -L 2 /root/ports-supfile >> " >> >> This might take awhile. You'll see your ports tree >> getting files added, changed, and removed. After it is >> done, THEN try deinstalling, building, and reinstalling >> portmanager, or portupgrade, or whatever. >> >> If you don't want to modify your whole ports tree, you can >> edit ports-supfile a bit more and restrict the changes to >> just the sysutils directory -- look inside the file for >> helpful comments on how to do this. >> > > IMHO, it might be a lot easier for him to use portsnap. Especially if he is > not familiar with the FBSD ports system. Just my opinion though. CVSUP isn't that difficult IMHO to learn, and is a better, more efficient way to download the ports Makefiles. It will take him all of 10-20 minutes to configure if he reads the documentation and uses the example file. -Garrett