Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2016 22:24:54 -0400
From:      Ultima <ultima1252@gmail.com>
To:        Manish Jain <bourne.identity@hotmail.com>
Cc:        "Brian W." <brian@brianwhalen.net>,  FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: How to install packages from local storage?
Message-ID:  <CANJ8om54kq2mz6E2VkOjpj5yqrmjMOFXdsmJUfnFoX%2BzG=h5WA@mail.gmail.com>
In-Reply-To: <CANJ8om4ioZrB3Z-gkuZgbfD=N3V_LcSpAju42zja3W%2BQFK1qRg@mail.gmail.com>
References:  <VI1PR02MB0974BC447210DC5139A566A1D1040@VI1PR02MB0974.eurprd02.prod.outlook.com> <CADV=szUbaTcxsWuwBcvERT9F3MvN40PTDnvqrm161KT_ktq2kg@mail.gmail.com> <CANJ8om7GzJ5nfvp6PktugQKUS%2BjbrFBmPg1JiJySzGNtJ6JhCw@mail.gmail.com> <VI1PR02MB0974D7109DC09A90CF9BB84DF6040@VI1PR02MB0974.eurprd02.prod.outlook.com> <CANJ8om4ioZrB3Z-gkuZgbfD=N3V_LcSpAju42zja3W%2BQFK1qRg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, /var/cache/pkg, not db.

On Sun, Jul 31, 2016 at 10:24 PM, Ultima <ultima1252@gmail.com> wrote:

> When a package is downloaded, it is stored in /var/db/pkg, If all the
> labtops have the same mountpoint in /var/db/pkg, when one downloads a
> package it will appear there for all the labtops. This dir is checked
> before downloading the pkg.
>
> On Sun, Jul 31, 2016 at 10:15 PM, Manish Jain <bourne.identity@hotmail.com
> > wrote:
>
>> On Mon, Aug 1, 2016 at 7:29 AM, Ultima <ultima1252@gmail.com> wrote:
>>
>> Another solution, though I have not tried this, have the labtops mount a
>> nfs on /var/cache/pkg they will share the pkg's they download, though it
>> may not be the best or safest solution.
>>
>>
>> Does that mean (presuming /var/cache/pkg on all laptops is mounted via
>> NFS to somewhere on the network), I just have to run 'pkg install gnome3'
>> and the gnome3 pkg will be accessed from /var/cache/pkg rather than being
>> downloaded ?
>>
>> If that works, then why not just copy local.sqlite (I think this is
>> /var/db/pkg) on the first system, and paste it on the other laptops ?
>>
>> I also see that pkg has a command 'add'. What is that for ?
>>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANJ8om54kq2mz6E2VkOjpj5yqrmjMOFXdsmJUfnFoX%2BzG=h5WA>