> On 2 Jan 2018, at 19:35, Julian Elischer <jul...@freebsd.org> wrote:
>> $ pkg -c /mnt install awscli
>> Updating FreeBSD repository catalogue...
>> pkg: http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/meta.txz: 
>> <http://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/meta.txz:> No address 
>> record
>> repository FreeBSD has no meta file, using default settings
>> pkg: http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/packagesite.txz: 
>> <http://pkg.freebsd.org/FreeBSD:11:amd64/quarterly/packagesite.txz:> No 
>> address record
>> Unable to update repository FreeBSD
>> Error updating repositories!
> 
> this means that either in the jail/chroot or in your machine, dns lookups are 
> failing.. did you remember to copy /etc/resolv.conf into the chroot/jail?

Bingo. Copying it solved the problem. Many thanks, Julian!

>> 
>> $ pkg -c /mnt add awscli
>> pkg: awscli: No such file or directory
>> pkg: Was 'pkg install awscli' meant?
>> Failed to install the following 1 package(s): awscli
>> 
>> Many thanks, everyone.
>> Rafal
> pkg install fetches over the network, pkg add installs a prefetched file,
> 
> so I am guessing that if you use add, and point the preloaded file it may 
> work.. Of course pkg may be smart enough to find the cached copy itself, but 
> it still seems to want to look at the network.
> 
_______________________________________________
freebsd-cloud@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-cloud
To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"

Reply via email to