From owner-freebsd-pkg@FreeBSD.ORG Wed May 7 14:27:59 2014 Return-Path: Delivered-To: pkg@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 EF04718E for ; Wed, 7 May 2014 14:27:59 +0000 (UTC) Received: from mail.freebsd.systems (unknown [IPv6:2001:6a0:1cb::b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5EDAE7A for ; Wed, 7 May 2014 14:27:59 +0000 (UTC) Received: from mail.freebsd.systems (mail.freebsd.systems [IPv6:2001:6a0:1cb::b]) by mail.freebsd.systems (Postfix) with ESMTP id 48A951C0; Wed, 7 May 2014 16:27:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at freebsd.systems Received: from mail.freebsd.systems ([IPv6:2001:6a0:1cb::b]) by mail.freebsd.systems (scan.freebsd.systems [IPv6:2001:6a0:1cb::b]) (amavisd-new, port 10026) with ESMTP id dbgr0cmEim7v; Wed, 7 May 2014 16:27:54 +0200 (CEST) Received: from [192.168.138.100] (83-144-115-210.static.chello.pl [83.144.115.210]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.freebsd.systems (Postfix) with ESMTPSA id A39EE1BB; Wed, 7 May 2014 16:27:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wasikowski.net; s=default; t=1399472873; bh=HWG5dBSZ7rKyNi0saKxab1aa74d5aE3DnnAG/cyRCaY=; h=Date:From:To:References:In-Reply-To; b=HHrK9aL2+/QHxaqQvn4uBR3wGlyhADkjYgL+7dtkjm2L+sGocLog4KDNIlLdqVsa8 eR36IZIo1/8rVbLiGDxvi/AwIeuaEN7CkXH0Ap3kQ860ZvjbU+Dv6WWh2nEWEkjHUF 5Gyy/jhjufCvPyluG1Twas1dciLJyzH6cGB9t/rNz262UVec+Dm8ECH6T5j7c9RZEf cc908N9+EWMnY7dsE4qwA4Jx8i9B3Z+aIUdDQ9aorb0X34xctXiBwM/RxckfK1MuLu zxj12ZX7CcuOceq0vz+LRCG4xrp9wlNxGLevZO+JEO+Moem9Ruf24IP7H9z0HiuHIq W5JlmbImbxBgw== Message-ID: <536A42E5.4070608@wasikowski.net> Date: Wed, 07 May 2014 16:27:49 +0200 From: =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Fbsd8 , pkg@freebsd.org Subject: Re: bootstrapping /usr/sbin/pkg inside a jail References: <5369407E.9060008@a1poweruser.com> <53694241.6050207@my.hennepintech.edu> <536A3E10.4030902@a1poweruser.com> In-Reply-To: <536A3E10.4030902@a1poweruser.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 14:28:00 -0000 W dniu 2014-05-07 16:07, Fbsd8 pisze: > It's not a question of getting to the internet which ping shows works. > Its that going to > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-current/Latest/ > using a browser or ftp shows that directory path does not exist. > > So it all boils down to, where is pkg program getting the url from and > why is there difference between host and jail? > > This is more a pkgng question then a jail question. pkg(8) use location from /usr/local/etc/pkg.conf (before 1.2.x IIRC) and from /usr/local/etc/pkg/repos/ directory in 1.2.x and newer. -- best regards, Lukasz Wasikowski