Subject: pkg/24744: pkg_add can't find packages with FTP without full name
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarmo.jaakkola@iki.fi>
List: netbsd-bugs
Date: 03/10/2004 13:22:22
>Number:         24744
>Category:       pkg
>Synopsis:       pkg_add can't find packages with FTP without full name
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 11 13:00:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jarmo Jaakkola
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD poseidon.pantheon.ton.tut.fi 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002/i386/OBJ/autobuild/netbsd-1-6-PATCH002/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
pkg_add cannot install packages from some FTP-sites, unless the precise
version number and file suffix is given.  Apparently, some server's don't
interpret following patterns correctly: package-*.t[bg]z
>How-To-Repeat:
For example:
$ export PKG_PATH='ftp://ftp.fi.netbsd.org/pub/NetBSD/packages/1.6.2/i386/All'
$ pkg_add free
>Fix:
Instead of 'nlist package-*.t[bg]z' possible packages should be listed with
'nlist package-*.tgz' and 'nlist package-*.tbz'.
>Release-Note:
>Audit-Trail:
>Unformatted: