pkgng cannot fetch from PACKAGESITE with in FreeBSD 10.1

Zenny garbytrash at
Sun Apr 5 01:00:54 UTC 2015

Thanks Brandon.

Yes, I did notice a typo. Missed a 'D' in NANO_WORLDDIR:
pkg -c ${NANO_WORLDIR} install -fy ${PACKAGELIST}


On 4/5/15, Brandon Allbery <allbery.b at> wrote:
> On Sat, Apr 4, 2015 at 8:26 PM, Zenny <garbytrash at> wrote:
>> + cust_NANOBSD_packages
>> + env SSL_NO_VERIFY_HOSTNAME=true env SSL_NO_VERIFY_PPER=true pkg -c
>> install -fy nano
>> pkg: illegal option -- f
>> pkg: illegal option -- y
>> pkg: chroot failed!
>> When I install with -y flag on the host node, it works fine, but
>> causing problem only in the chrooted environment. Where did I get
>> wrong? Thanks in advance.
> Notice that ${NANO_WORLDDIR} didn't substitute anything; it used "install"
> as the chroot (which is why it failed) and -fy as global options instead of
> options to the "install" command it didn't see because -c ate it.
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b at
> ballbery at
> unix, openafs, kerberos, infrastructure, xmonad

More information about the freebsd-stable mailing list