From owner-freebsd-questions@FreeBSD.ORG Wed May 7 04:48:53 2014 Return-Path: Delivered-To: freebsd-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 B8204543 for ; Wed, 7 May 2014 04:48:53 +0000 (UTC) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0053.outbound.protection.outlook.com [207.46.100.53]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6FF82F7C for ; Wed, 7 May 2014 04:48:52 +0000 (UTC) Received: from [IPv6:2601:2:4780:2fd:7047:5608:c5d5:cbe9] (10.255.124.4) by BLUPR03MB017.namprd03.prod.outlook.com (10.255.208.39) with Microsoft SMTP Server (TLS) id 15.0.944.11; Tue, 6 May 2014 20:12:51 +0000 Message-ID: <53694241.6050207@my.hennepintech.edu> Date: Tue, 6 May 2014 15:12:49 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Subject: Re: bootstrapping /usr/sbin/pkg inside a jail References: <5369407E.9060008@a1poweruser.com> In-Reply-To: <5369407E.9060008@a1poweruser.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.255.124.4] X-ClientProxiedBy: BLUPR03CA008.namprd03.prod.outlook.com (10.255.124.25) To BLUPR03MB017.namprd03.prod.outlook.com (10.255.208.39) X-Forefront-PRVS: 0203C93D51 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009001)(6009001)(428001)(24454002)(199002)(189002)(51704005)(76482001)(83506001)(46102001)(81542001)(86362001)(81342001)(50986999)(54356999)(76176999)(87266999)(4396001)(87976001)(99396002)(77982001)(23676002)(65816999)(21056001)(74502001)(31966008)(74662001)(83322001)(92566001)(19580395003)(85852003)(83072002)(80022001)(65806001)(79102001)(20776003)(47776003)(64706001)(75432001)(64126003)(42186004)(92726001)(101416001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR03MB017; H:[IPv6:2601:2:4780:2fd:7047:5608:c5d5:cbe9]; FPR:; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; Received-SPF: None (: my.HennepinTech.edu does not designate permitted sender hosts) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-OriginatorOrg: my.hennepintech.edu 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: Wed, 07 May 2014 04:48:53 -0000 On 2014.05.06 15:05, Fbsd8 wrote: > 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? Does your jail have working internet connectivity and DNS resolution?