bin/162490: pkg_add(1) fails to fetch packages remotely on stable/9
Luchesar V. ILIEV
luchesar.iliev at gmail.com
Fri Nov 11 19:40:03 UTC 2011
>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 at 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:
More information about the freebsd-bugs
mailing list