[issue848] bin-install test

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sun Nov 25 18:47:15 PST 2007


On Sun, Nov 25, 2007 at 02:48:55PM -0000, Justin C. Sherrill wrote:
> 
> Justin C. Sherrill <justin at shiningsilence.com> added the comment:
> 
> I think it is caused by the way pkg_add interacts with one of the mirror sites -
> I had seen this previously, but it was fixed by updating pkg_install to a recent
> version.
> 
> ----------
> priority:  -> feature

Ok, it turned out that it's becauase our ftp command is not compatible
to NetBSD version.  pkg_add command uses ftp command to obtain the file
list like this:
  ftp -V -o - theURL

OTOH pkgbox.dragonflybsd.org can redirect us to one of two locations:
  http://ipv4.theshell.com/pub/DragonFly/packages/DragonFly-1.10.1/i386/All/
  ftp://ftp.dragonflybsd.kiev.ua/pub/DragonFlyBSD/packages/DragonFly-1.10.1/i386/All/

but apparently our ftp command drops to an interactive prompt instead of
giving us the list if theURL is an ftp one.  So if we use ftp server
for one of our bin-install sources, we need to port the fix from
NetBSD as their command does the job unlike ours.

Cheers.





More information about the Bugs mailing list