Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2009 19:42:30 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        freebsd-ports@FreeBSD.org
Cc:        sem@FreeBSD.org
Subject:   Re: portupgrade, fetch and PACKAGESITE
Message-ID:  <48031817@h30.sp.ipt.ru>
In-Reply-To: <03763894@bb.ipt.ru> (Boris Samorodov's message of "Sat\, 04 Apr 2009 21\:52\:57 %2B0400")
References:  <03763894@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 04 Apr 2009 21:52:57 +0400 Boris Samorodov wrote:

> 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@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!

OK, some new diagnostics for portupgrade-2.4.6_2,2:
=====
# portupgrade -vNPP misc/deco
--->  Session started at: Sat, 02 May 2009 19:36:47 +0400
[Gathering depends for misc/deco  done]
--->  Fresh installation of misc/deco started at: Sat, 02 May 2009 19:32:09 +0400
--->  Checking for the latest package of 'misc/deco'
--->  Fetching the package(s) for 'deco-3.9_4' (misc/deco)
--->  Fetching deco-3.9_4
++ Will try the following sites in the order named:
        ftp://bb.ipt.ru/pub/FreeBSD/i386/ports/packages/7-bsam/
--->  Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeLQorxZvV/deco-3.9_4.tbz' 'ftp://bb.ipt.rupub/FreeBSD/i386/ports/packages/7-bsam/All/deco-3.9_4.tbz'
fetch: ftp://bb.ipt.rupub/FreeBSD/i386/ports/packages/7-bsam/All/deco-3.9_4.tbz: No address record
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://bb.ipt.rupub/FreeBSD/i386/ports/packages/7-bsam/All/deco-3.9_4.tbz
--->  Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeLQorxZvV/deco-3.9_4.tgz' 'ftp://bb.ipt.rupub/FreeBSD/i386/ports/packages/7-bsam/All/deco-3.9_4.tgz'
fetch: ftp://bb.ipt.rupub/FreeBSD/i386/ports/packages/7-bsam/All/deco-3.9_4.tgz: No address record
** The command returned a non-zero exit status: 1
** Failed to fetch ftp://bb.ipt.rupub/FreeBSD/i386/ports/packages/7-bsam/All/deco-3.9_4.tgz
** Failed to fetch deco-3.9_4
[...]
=====

Please pay attention that "++ Will try the following sites in the order
named:" shows the right site, but the site is broken at the following
fetch command.


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48031817>