NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/47841: pkg_add(1) http://ftp.jp.netbsd.org/ fails with weird error
>Number: 47841
>Category: bin
>Synopsis: pkg_add(1) http://ftp.jp.netbsd.org/ fails with weird error
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 20 11:15:01 +0000 2013
>Originator: Izumi Tsutsui
>Release: NetBSD 6.1
>Organization:
>Environment:
System: NetBSD/i386 6.1
Architecture: i386 and m68k
Machine: i386 and x68k, maybe MI issue
>Description:
pkg_add(1) using binary packages mirrored in http://ftp.jp.netbsd.org/
fails with "Host not found" error unless whole *.tgz filename is specified,
while pkg_add via ftp:// against the same path works.
Probably there is some http server dependent problem, but
the error message "Host not found" by pkg_add(1) is not correct
and it confuses users.
>How-To-Repeat:
# uname -mrs
NetBSD 6.1 i386
# pkg_add
http://ftp.jp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.0/All/digest
pkg_add: Can't process
http://ftp.jp.netbsd.org:80/pub/pkgsrc/packages/NetBSD/i386/6.0/All/digest*:
Host not found
pkg_add: no pkg found for
'http://ftp.jp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.0/All/digest',
sorry.
pkg_add: 1 package addition failed
# pkg_add ftp://ftp.jp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.0/All/digest
pkg_add: Warning: package `digest-20121220' was built for a platform:
pkg_add: NetBSD/i386 6.0 (pkg) vs. NetBSD/i386 6.1 (this host)
# pkg_delete digest
# pkg_add
http://ftp.jp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/6.0/All/digest-20121220.tgz
pkg_add: Warning: package `digest-20121220' was built for a platform:
pkg_add: NetBSD/i386 6.0 (pkg) vs. NetBSD/i386 6.1 (this host)
#
>Fix:
No idea.
Home |
Main Index |
Thread Index |
Old Index