Strange behavior of ${MASTER_SITE_LOCAL}: it trys only one mirror and then fallback to ${MASTER_SITE_BACKUP}

Lev Serebryakov lev at FreeBSD.org
Sat Mar 31 09:23:51 UTC 2012


Hello, Ports.

 I'm trying to put Subversion Book files to MASTER_SITE_LOCAL, to
avoid problem when publisher re-roll files without changing names.

 It works, file on ftp.freebsd.org (local-distfiles/lev).

 But when I try check if everything Ok, I get:

=> svn-book-html-r4259.tar.bz2 doesn't seem to exist in /usr/home/lev/distfiles/subversion17.
=> Attempting to fetch ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lev/svn-book-html-r4259.tar.bz2
fetch: ftp://ftp.cn.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/lev/svn-book-html-r4259.tar.bz2: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/subversion17/svn-book-html-r4259.tar.bz2
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/subversion17/svn-book-html-r4259.tar.bz2: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/home/lev/distfiles/subversion17 and try again.

  So, ports try only last mirror in list (which is not updated yet)
and fallback not to next mirror (and next, and next, till it download
it from main site) but to ${MASTER_SITE_BACKUP}. Is it Ok?


-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-ports mailing list