Date: Sat, 4 Apr 2015 20:33:40 -0400 From: Brandon Allbery <allbery.b@gmail.com> To: Zenny <garbytrash@gmail.com> Cc: Baptiste Daroussin <bapt@freebsd.org>, "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: pkgng cannot fetch from PACKAGESITE with nanobsd.sh in FreeBSD 10.1 Message-ID: <CAKFCL4UCzQCQKLUbDm2o2E-T-zWrQof-NrRtjMG5%2BexMCu%2BUKA@mail.gmail.com> In-Reply-To: <CACuV5sA-99eyxS3Ed_CF4OjADEc6Db1AsCfF0FjCeKj5R27XyQ@mail.gmail.com> References: <CACuV5sB%2BqECSAii%2BeQgXiMGw2qHuqHWf9UCRQGcaP0N0dgPkxA@mail.gmail.com> <20150402183939.GC30115@ivaldir.etoilebsd.net> <CACuV5sBj7dMPoqWU=7GRLD7cURZGutboG%2BZ1kStHkADTshY5xA@mail.gmail.com> <CACuV5sA-99eyxS3Ed_CF4OjADEc6Db1AsCfF0FjCeKj5R27XyQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 4, 2015 at 8:26 PM, Zenny <garbytrash@gmail.com> 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@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKFCL4UCzQCQKLUbDm2o2E-T-zWrQof-NrRtjMG5%2BexMCu%2BUKA>