NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
misc/49765: Official ftp mirror not supporting wildcard over http
>Number: 49765
>Category: misc
>Synopsis: Official ftp mirror not supporting wildcard over http
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Fri Mar 20 10:50:00 +0000 2015
>Originator: Jussi Toivonen
>Release: 6.1.5
>Organization:
>Environment:
NetBSD Unzan 6.1.5 NetBSD 6.1.5 (GENERIC) i386
>Description:
Host not found errors when trying to install packages from ftp.NetBSD.org during installation step "Enable installation of binary packages" or during normal usage of pkg_add with PKG_PATH set to "http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/6.1.5/All". If the "http://" is explicitly replaced with "ftp://", installing works, but that is bad practice.
The problem seemingly stems from the wildcard character * not being supprted over http. The client attempts to find <package name>* where the * is the version number of the package, but can only find it if connected to the server through ftp://
>How-To-Repeat:
1. Boot the installation media for NetBSD 6.1.5 i386
2. Install as normal until
3. Attempt to enable installation of binary packages.
OR
# export PKG_PATH="http://ftp.NetBSD.org/pub/pkgsrc/packages/NetBSD/i386/6.1.5/All"
# pkg_add <any program>
>Fix:
Enable wildcard globbing over http in the official ftp server.
Home |
Main Index |
Thread Index |
Old Index