Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 May 2014 10:56:33 -0400
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        =?UTF-8?B?xYF1a2FzeiBXxIVzaWtvd3NraQ==?= <lukasz@wasikowski.net>
Cc:        pkg@freebsd.org
Subject:   Re: bootstrapping  /usr/sbin/pkg inside a jail
Message-ID:  <536A49A1.8070000@a1poweruser.com>
In-Reply-To: <536A42E5.4070608@wasikowski.net>
References:  <5369407E.9060008@a1poweruser.com> <53694241.6050207@my.hennepintech.edu> <536A3E10.4030902@a1poweruser.com> <536A42E5.4070608@wasikowski.net>

next in thread | previous in thread | raw e-mail | index | archive | help
=C5=81ukasz W=C4=85sikowski wrote:
> W dniu 2014-05-07 16:07, Fbsd8 pisze:
>=20
>> 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.
>=20
> pkg(8) use location from /usr/local/etc/pkg.conf (before 1.2.x IIRC) an=
d
> from /usr/local/etc/pkg/repos/ directory in 1.2.x and newer.
>=20

This is a fresh virgin install of 10.0. /etc only contains /etc/pkg=20
directory with out any pkg.conf file or other sub-directories until=20
after you exec on the host the first pkg command to bootstrap the=20
downloading and install of pkg itself after which /etc/pkg.conf.sample=20
shows up. Inside of the jail is just like the host was before bootstrap=20
of pkg program.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536A49A1.8070000>