From owner-freebsd-questions@FreeBSD.ORG Thu Apr 1 19:54:46 2004 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 5A27316A4CE for ; Thu, 1 Apr 2004 19:54:46 -0800 (PST) Received: from postit.mail.adnap.net.au (postit.mail.adnap.net.au [203.6.132.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D9D843D31 for ; Thu, 1 Apr 2004 19:54:46 -0800 (PST) (envelope-from bastill@adam.com.au) Received: from BAPhD.gihon.org.au (202-6-152-161.ip.adam.com.au [202.6.152.161]) by postit.mail.adnap.net.au (Postfix) with ESMTP id 7E95C1F206; Fri, 2 Apr 2004 13:24:44 +0930 (CST) Content-Type: text/plain; charset="iso-8859-1" From: Brian Astill To: Kris Kennaway Date: Fri, 2 Apr 2004 13:28:46 +0930 User-Agent: KMail/1.4.3 References: <200404012250.01301.bastill@adam.com.au> <20040401220607.GA73937@xor.obsecurity.org> In-Reply-To: <20040401220607.GA73937@xor.obsecurity.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200404021328.46235.bastill@adam.com.au> cc: freebsd-questions@freebsd.org Subject: Re: portsdb -Uu and new mirror 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: Fri, 02 Apr 2004 03:54:46 -0000 On Fri, 2 Apr 2004 07:36 am, Kris Kennaway wrote: > On Thu, Apr 01, 2004 at 10:50:01PM +0930, Brian Astill wrote: > > My ISP now stores "all" the FBSD ports and sources > > > > #portsdb -Uu > > Updating the ports index ...make: don't know how to make > > //ftp.filearena.net/pub/FreeBSD/ports/distfiles//(continuing): > > and so on ad infinitum (well nearly :-) ) until: > > > > failed to generate INDEX! > > /usr/local/lib/ruby/site_ruby/1.6/portsdb.rb:210:in `update': index > > generation error (PortsDB::IndexFileError) > > from /usr/local/sbin/portsdb:154:in `main' > > from /usr/local/sbin/portsdb:66:in `initialize' > > from /usr/local/sbin/portsdb:66:in `new' > > from /usr/local/sbin/portsdb:66:in `main' > > from /usr/local/sbin/portsdb:205 > > > > OK, so I have rebuilt the ports index files by commenting out the > > offending references to filearena in /etc/make.conf BUT I need to > > uncomment them again to take advantage of my ISP's collection of > > distfiles. > > Sounds like you have something incorrect in make.conf, but you forgot > to include it so we can't be sure :-) Fussy-fussy! :-) The lines I have added look like this: # Port master sites. # # If you want your port fetches to go somewhere else than the default # (specified below) in case the distfile/patchfile was not found, # uncomment this and change it to a location nearest you. (Don't # remove the "/${DIST_SUBDIR}/" part.) # MASTER_SITE_BACKUP?=\ # ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ # # If you want your port fetches to check the above site first (before # the MASTER_SITES specified in the port Makefiles), uncomment the # line below. You can also change the right side to point to wherever # you want ftp://ftp.filearena.net/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/ MASTER_SITE_OVERRIDE?=${MASTER_SITE_BACKUP} # -- Regards, Brian