misc/132505: pkg_fetch is using a wrong URI

Carsten Wiedmann carsten_sttgt at gmx.de
Tue Mar 10 07:30:07 PDT 2009


>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 at 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:


More information about the freebsd-bugs mailing list