From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 10:51:34 2003 Return-Path: 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 CBFFE16A4B3 for ; Mon, 22 Sep 2003 10:51:34 -0700 (PDT) Received: from remt19.cluster1.charter.net (remt19.cluster1.charter.net [209.225.8.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 521E043FCB for ; Mon, 22 Sep 2003 10:51:32 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt19.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 166532429; Mon, 22 Sep 2003 13:44:17 -0400 From: "Charles Howse" To: "'Kent Stewart'" , "'Andrew L. Gould'" , Date: Mon, 22 Sep 2003 12:44:09 -0500 Message-ID: <008601c38131$20d0c7c0$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal In-Reply-To: <200309221032.45719.kstewart@owt.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: RE: Cvsup refuse confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2003 17:51:34 -0000 > On Monday 22 September 2003 10:07 am, Charles Howse wrote: > > > On Monday 22 September 2003 09:39 am, Andrew L. Gould wrote: > > > > On Monday 22 September 2003 11:13 am, Charles Howse wrote: > > > > > Hi, > > > > > I'm trying to eliminate all the non-English ports and > > > > > documentation. I've deleted the relevant directories in > > > > > /usr/ports and /usr/share/doc, But they reappear on subsequent > > > > > cvsups. Where have I gone wrong? > > > > > > > > > > ********* /etc/cvsupfile ********* > > > > > > > > > > *default host=3Dcvsup11.FreeBSD.org > > > > > *default base=3D/usr > > > > > *default prefix=3D/usr > > > > > *default release=3Dcvs > > > > > *default tag=3DRELENG_4_8 > > > > > *default delete use-rel-suffix > > > > > > > > > > > > > > > > Thanks, > > > > > Charles > > > > > > > > Check for the existence of the folder /usr/sup. If it exists, > > > > move your refuse file to it. > > > > > > > > Also, should you be refusing to update ports/INDEX? I refuse the > > > > non-English ports; but my refuse file does not include > > > > ports/INDEX. > > > > > > Yes, because you are supposed to rebuild INDEX after=20 > every cvsup of > > > ports-all. If you pick and choose the port collection, you will > > > probably break "make index" and then the upate tools won't > > > work as you > > > would expect. Since you are going to rebuild INDEX or=20 > INDEX-5 after > > > each cvsup, refusing it prevents cvsup from redownloading it. > > > It takes > > > several minutes to download even across a 100Mbps networkd. > > > > > > If you use portupgrade, you also have to run "portsdb -u"=20 > after you > > > create and updated INDEX. > > > > OK, the OP is getting confused. ;-) > > I have moved my refuse file to /usr/sup/refuse > > I have deleted the directories in /usr/ports and /usr/share/doc that > > I don't want. > > I will cvsup when we get this straightened out in my mind. > > > > Dr. Seaman says run 'make index' *OR* portsdb -Uu after cvsup. > > Kent says run 'portsdb -u' *AFTER* make index. > > > > What is our consensus? >=20 > You don't do a "make index" and a "portsdb -uU". You only need to run=20 > "portsdb -u" after a make index. >=20 > They do the same thing; however, Kris has a script that=20 > writes a bitch=20 > message to -ports when "make index" fails. There isn't anything=20 > comparable for portsdb -U. In addition, portsdb -U has always=20 > produced=20 > a large number of error messages that I don't see with "make index".=20 >=20 > I have also found that you typically get a slightly larger=20 > port count on=20 > the "portsdb -u" when you run "make index". >=20 > FWIW, I run portsdb -U when "make index" fails. I think they are both=20 > tools that meet slightly different needs. I think "portsdb=20 > -U" handles=20 > an incomplete /usr/ports and "make index" doesn't. OK, I'm starting to get the drift here. Thanks.