From owner-freebsd-ports@FreeBSD.ORG Sat May 2 15:42:38 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C34F106566B for ; Sat, 2 May 2009 15:42:38 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 17D208FC1B for ; Sat, 2 May 2009 15:42:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from gate.ipt.ru ([194.62.233.123] helo=h30.sp.ipt.ru) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1M0HME-000AbP-SN; Sat, 02 May 2009 19:42:30 +0400 To: freebsd-ports@FreeBSD.org References: <03763894@bb.ipt.ru> From: Boris Samorodov Date: Sat, 02 May 2009 19:42:30 +0400 In-Reply-To: <03763894@bb.ipt.ru> (Boris Samorodov's message of "Sat\, 04 Apr 2009 21\:52\:57 +0400") Message-ID: <48031817@h30.sp.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: sem@FreeBSD.org Subject: Re: portupgrade, fetch and PACKAGESITE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 May 2009 15:42:38 -0000 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