Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2011 19:36:44 GMT
From:      "Luchesar V. ILIEV" <luchesar.iliev@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/162490: pkg_add(1) fails to fetch packages remotely on stable/9
Message-ID:  <201111111936.pABJaiJu093303@red.freebsd.org>
Resent-Message-ID: <201111111940.pABJe2gj033547@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162490
>Category:       bin
>Synopsis:       pkg_add(1) fails to fetch packages remotely on stable/9
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 11 19:40:02 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Luchesar V. ILIEV
>Release:        9.0-RC2
>Organization:
i.dea.is
>Environment:
FreeBSD bluestorm 9.0-RC2 FreeBSD 9.0-RC2 #0 r227367M: Wed Nov  9 01:44:21 EET 2011     root@bluestorm:/usr/obj/usr/src/sys/BLUESTORM  amd64
>Description:
On stable/9, when using pkg_add(1)'s "-r" option to remotely fetch packages, the necessary OS release directory name is incorrectly identified to be "packages-9-current", while on the FTP sites this has already been (correctly) changed to "packages-9-stable". As a consequence, the "pkg_add -r" command fails with "pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/<arch>/packages-9-current/Latest/<packagename>' by URL"
>How-To-Repeat:
# pkg_add -r <any_package_name>
>Fix:
MFC r225757 with respect to /stable/9/usr.sbin/pkg_install/add/main.c

http://svnweb.freebsd.org/base/head/usr.sbin/pkg_install/add/main.c?r1=222035&r2=225757

>Release-Note:
>Audit-Trail:
>Unformatted:



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