Date: Sun, 5 Apr 2015 03:00:53 +0200 From: Zenny <garbytrash@gmail.com> To: Brandon Allbery <allbery.b@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: <CACuV5sCLKPYq=iHdAdCAxYerhDzHhiPS_nrJj6WJKcmUXnEpSQ@mail.gmail.com> In-Reply-To: <CAKFCL4UCzQCQKLUbDm2o2E-T-zWrQof-NrRtjMG5%2BexMCu%2BUKA@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> <CAKFCL4UCzQCQKLUbDm2o2E-T-zWrQof-NrRtjMG5%2BexMCu%2BUKA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Brandon. Yes, I did notice a typo. Missed a 'D' in NANO_WORLDDIR: pkg -c ${NANO_WORLDIR} install -fy ${PACKAGELIST} /z On 4/5/15, Brandon Allbery <allbery.b@gmail.com> wrote: > 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?CACuV5sCLKPYq=iHdAdCAxYerhDzHhiPS_nrJj6WJKcmUXnEpSQ>