From owner-freebsd-questions@FreeBSD.ORG Tue May 6 23:40:34 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3F5B1B6 for ; Tue, 6 May 2014 23:40:34 +0000 (UTC) Received: from relay.mailchannels.net (ar-005-i202.relay.mailchannels.net [162.253.144.84]) by mx1.freebsd.org (Postfix) with ESMTP id 30B19206 for ; Tue, 6 May 2014 23:40:32 +0000 (UTC) X-Sender-Id: _forwarded-from|107.201.34.133 Received: from mail-24.name-services.com (ip-10-218-133-212.us-west-2.compute.internal [10.218.133.212]) by relay.mailchannels.net (Postfix) with ESMTPA id C88FC6033D; Tue, 6 May 2014 23:40:27 +0000 (UTC) X-Sender-Id: _forwarded-from|107.201.34.133 Received: from mail-24.name-services.com (mail-24.name-services.com [10.244.170.26]) (using TLSv1 with cipher AES128-SHA) by 0.0.0.0:2500 (trex/5.1.2); Tue, 06 May 2014 23:40:28 GMT X-MC-Relay: Forwarding X-MailChannels-SenderId: _forwarded-from%7C107.201.34.133 X-MailChannels-Auth-Id: demandmedia Received: from [10.0.10.1] (107-201-34-133.lightspeed.bcvloh.sbcglobal.net [107.201.34.133]) by mail-24.name-services.com with SMTP; Tue, 6 May 2014 16:40:22 -0700 Message-ID: <536972E2.5050606@a1poweruser.com> Date: Tue, 06 May 2014 19:40:18 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Matthew Pherigo Subject: Re: bootstrapping /usr/sbin/pkg inside a jail References: <5369407E.9060008@a1poweruser.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "jails@freebsd.org" , questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 23:40:34 -0000 >> On May 6, 2014, at 3:05 PM, Fbsd8 wrote: >> >> On a fresh install from iso cd I get this >> >> /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: >> >> >> But after starting a jail and issuing the same command I get this >> >> >> 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/packages-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 access) >> A pre-built version of pkg could not be found for your system. >> Consider changing PACKAGESITE or installing it from ports >> >> Why 2 different URL's? >> From inside of a jail how do I install pkg? >> >> Matthew Pherigo wrote: > Are you sure you have the same version of FreeBSD running in the jail as you do on the host? > > --Matt Yes of course.