portsdb -Uu and new mirror

Brian Astill bastill at adam.com.au
Thu Apr 1 19:54:46 PST 2004


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):
<snip>
> > 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


More information about the freebsd-questions mailing list