pkgng/pkgng — Issue #114: pkg update gives strange error when PACKAGESITE directory doesn't exist
Author: toddnni
Created: 2011-12-12 17:27:52+00:00
State: open

Strange error is echoed if directory is not found (is this related to ftp or pkgng bug?)

# export PACKAGESITE=ftp://pkg/amd64/5-old.builds/
# pkg update
Broken pipe

If hostname is wrong, error is understandable.

# export PACKAGESITE=ftp://pk/amd64/5-old.build/
# pkg update
pkg: ftp://pk/amd64/5-old.build/repo.txz: No address record

If repo.txz is missing, error is understandable.

# export PACKAGESITE=ftp://pkg/amd64/5-old.build/
# pkg update
pkg: ftp://pkg/amd64/5-old.build/repo.txz: File unavailable (e.g., file not found, no access)

Using 1.0-alpha2.zip.