Date: Tue, 10 Mar 2009 14:26:31 GMT From: Carsten Wiedmann <carsten_sttgt@gmx.de> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/132505: pkg_fetch is using a wrong URI Message-ID: <200903101426.n2AEQVSE089917@www.freebsd.org> Resent-Message-ID: <200903101430.n2AEU66i030106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 132505 >Category: misc >Synopsis: pkg_fetch is using a wrong URI >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 10 14:30:06 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Carsten Wiedmann >Release: portupgrade-2.4.6,2 >Organization: >Environment: FreeBSD bsdserver-2-node3 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Hello, I have 2 ENV variables set (according to the manual): PKG_SITES=ftp://ftp.freebsd.ch/pub/FreeBSD/ports/i386/packages-7-stable/ PACKAGEROOT=ftp://ftp.freebsd.ch But now pkg_fetch (or with portupgrade -PP) the files are fetched from: ftp://ftp.freebsd.chpub/FreeBSD/ports/i386/packages-7-stable/All/foo-x.y.tbz ftp://ftp.freebsd.chpub/FreeBSD/ports/i386/packages-7.1-release/All/foo-x.y.tbz ftp://ftp.freebsd.chpub/FreeBSD/ports/i386/packages-7-stable/Latest/foo.tbz ftp://ftp.freebsd.chpub/FreeBSD/ports/i386/packages-7.1-release/Latest/foo.tbz See the missing slash after the hostname. The result is an error from fetch:"No address record". If I change the ENV variables to: PKG_SITES=ftp://ftp.freebsd.ch//pub/FreeBSD/ports/i386/packages-7-stable/ PACKAGEROOT=ftp://ftp.freebsd.ch/ pkg_fetch is now using the correct URIs. BTW: My pkgtools.conf is default without changes. Regards, Carsten >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903101426.n2AEQVSE089917>