Date: Tue, 6 May 2014 16:37:48 -0500 From: Matthew Pherigo <hybrid120@gmail.com> To: Fbsd8 <fbsd8@a1poweruser.com> Cc: "jails@freebsd.org" <jails@freebsd.org>, questions <questions@FreeBSD.org> Subject: Re: bootstrapping /usr/sbin/pkg inside a jail Message-ID: <DC7ABF9C-9B48-4D69-9B30-F5A8A6EAC299@gmail.com> In-Reply-To: <5369407E.9060008@a1poweruser.com> References: <5369407E.9060008@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Are you sure you have the same version of FreeBSD running in the jail as you= do on the host? --Matt > On May 6, 2014, at 3:05 PM, Fbsd8 <fbsd8@a1poweruser.com> wrote: >=20 > On a fresh install from iso cd I get this >=20 > /root >/usr/sbin/pkg > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:32/latest= , please wait... > Verifying signature with trusted certificate pkg.freebsd.org.2013102301...= done > Installing pkg-1.2.7_2... done > If you are upgrading from the old package format, first run: >=20 >=20 > But after starting a jail and issuing the same command I get this >=20 >=20 > jexec dir23 tcsh > dir23 /root >/usr/sbin/pkg > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packag= es-current/Latest/, please wait... > pkg: Error fetching ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-= current/Latest//Latest/pkg.txz: File unavailable (e.g., file not found, no a= ccess) > A pre-built version of pkg could not be found for your system. > Consider changing PACKAGESITE or installing it from ports >=20 > Why 2 different URL's? > =46rom inside of a jail how do I install pkg? >=20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DC7ABF9C-9B48-4D69-9B30-F5A8A6EAC299>