From owner-freebsd-questions@FreeBSD.ORG Tue May 6 21:37:51 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 413DDE91 for ; Tue, 6 May 2014 21:37:51 +0000 (UTC) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08774863 for ; Tue, 6 May 2014 21:37:50 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id wm4so114073obc.26 for ; Tue, 06 May 2014 14:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=7plhuVveRACW5KCU0ybV/zl52XEQgtJeT2TtTEkfJeM=; b=sOCs0QGBpIff4IZqXZfV8fJcudtIOm1hJLr4cAFYU70JIHNwjfxi5/ipyU0PtzENik QwyMPJIwGL7D2MsJAKnmS1FAVOjlwAIzTCmFS4O9trfubQ5WRmKDNmbb0Wkfc/gNxWH0 aBN7eFR5EAGKWrvegln8axft6e5fJSr2DpcS0YqK1gF2tztRqZCju1Nu4QcgAHX5ruuC ktmdzp1PR+M+nnkUHPzM1T2CVUqb8yxUsTtR0++nedln4f+z79cYR3yP6srlUDgKfV4Z BDrJ6vBWw517OOqUfSjhltoeQLshuR+7MrF3lGffh8nSEW15Cf4Fkohk/CO8anMiuw81 qj+w== X-Received: by 10.60.179.138 with SMTP id dg10mr7718482oec.13.1399412270364; Tue, 06 May 2014 14:37:50 -0700 (PDT) Received: from [192.168.1.64] (pool-71-170-112-253.dllstx.fios.verizon.net. [71.170.112.253]) by mx.google.com with ESMTPSA id wy4sm16923804obc.21.2014.05.06.14.37.49 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 May 2014 14:37:49 -0700 (PDT) References: <5369407E.9060008@a1poweruser.com> Mime-Version: 1.0 (1.0) In-Reply-To: <5369407E.9060008@a1poweruser.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPad Mail (11D201) From: Matthew Pherigo Subject: Re: bootstrapping /usr/sbin/pkg inside a jail Date: Tue, 6 May 2014 16:37:48 -0500 To: Fbsd8 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 21:37:51 -0000 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 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"