portupgrade, fetch and PACKAGESITE

Boris Samorodov bsam at ipt.ru
Sat Apr 4 17:52:59 UTC 2009


Hello List,


maybe I've busted my configs but I can't find where did I. :-(

-----
# uname -a
FreeBSD bb.ipt.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sat Apr  4 16:29:29 MSD 2009     root at bb.ipt.ru:/usr/obj/usr/src/sys/BB  i386
# echo $PACKAGESITE
ftp://localhost/pub/FreeBSD/i386/ports/packages/8-bsam/Latest/
# pkg_info -xI portupgrade
portupgrade-2.4.6_1,2 FreeBSD ports/packages administration and management tool s
-----

But "portupgrade -PP" ignores a "/" after localhost:
-----
--->  Checking for the latest package of 'lang/python25'
--->  Fetching the package(s) for 'python25-2.5.4_1' (lang/python25)
--->  Fetching python25-2.5.4_1
fetch: ftp://localhostpub/FreeBSD/i386/ports/packages/8-bsam/All/python25-2.5.4_1.tbz: No address record
-----

Ktrace shows that it even tries to resolv localhostpub.ipt.ru
(ipt.ru is a domain in search rule at /etc/resolv.conf).

Any help is appreciated. Thanks!


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-ports mailing list