Re: How to get pkg to recognize local repository?

2017-07-19 Thread Adam Weinberger
> On 17 Jul, 2017, at 20:33, Thomas Mueller wrote: > > Excerpt from Adam Weinberger: > >> myfirstrepo: { >>url: file:///path/to/first/repo, >>priority: 99 >> }, >> mysecondrepo: { >>url: file:///path/to/second/repo, >>priority: 98 >> } Hi Tom, sorry I completely

Re: How to get pkg to recognize local repository?

2017-07-18 Thread Thomas Mueller
On Tue, 18 Jul 2017 02:33:22 + "Thomas Mueller" wrote: > I suppose priority 99 would take priority over priority 98? > In normal English usage, first priority or priority one is higher > than priority two. > Do you need the comma after the closing brace after myfirstrepo? > I suppose myfir

Re: How to get pkg to recognize local repository?

2017-07-18 Thread Boris Samorodov
18.07.2017 05:33, Thomas Mueller пишет: This looks like it might help, but PKG-REPOSITORY and FETCH have to be lower-case, won't work with capital letters. That's an old unix tradition. PKG-REPOSITORY(5) and FETCH(3) mean that one should use "man 5 pkg-repository" and "man 3 fetch" to get the

Re: How to get pkg to recognize local repository?

2017-07-18 Thread Bob Eager
On Tue, 18 Jul 2017 02:33:22 + "Thomas Mueller" wrote: > I suppose priority 99 would take priority over priority 98? > > In normal English usage, first priority or priority one is higher > than priority two. > > Do you need the comma after the closing brace after myfirstrepo? > > I suppose

Re: How to get pkg to recognize local repository?

2017-07-17 Thread Thomas Mueller
from Franco Fichtner: # pkg repo /mnt/usr/packages Would that put meta.txz and other stuff in /usr/packages ? I could do that either by nfs (with /mnt) or directly on that computer (without /mnt). But I have all the old stuff I no longer want, would not run because of shared libraries out of

Re: How to get pkg to recognize local repository?

2017-07-17 Thread Adam Weinberger
> On 17 Jul, 2017, at 11:13, Patrick Powell wrote: > > On 07/16/17 22:21, Matthias Apitz wrote: >> El día lunes, julio 17, 2017 a las 05:10:06a. m. +, Thomas Mueller >> escribió: >> >>> How do I get pkg to recognize a local repository such as >>> /mnt/usr/packages/All, or does pkg only rec

Re: How to get pkg to recognize local repository?

2017-07-17 Thread Kurt Jaeger
Hi! > Just out of curiosity (and because I might want to do this) how can you > specify two (or more) repositories > and have them searched in some order. Probably by having two or more config files for repos in /usr/local/etc/pkg/repos/ I don't know how to have preferences in there. -- p...

Re: How to get pkg to recognize local repository?

2017-07-17 Thread Patrick Powell
On 07/16/17 22:21, Matthias Apitz wrote: El día lunes, julio 17, 2017 a las 05:10:06a. m. +, Thomas Mueller escribió: How do I get pkg to recognize a local repository such as /mnt/usr/packages/All, or does pkg only recognize remote repositories? ... I use: $ ls -l /usr/local/etc/pkg/rep

Re: How to get pkg to recognize local repository?

2017-07-17 Thread Boris Samorodov
Hi Thomas, 17.07.2017 08:10, Thomas Mueller пишет: How do I get pkg to recognize a local repository It is documented at PKG-REPOSITORY(5) . [1] What is the proper URL or format for a file name/directory? Is it necessary to precede with URL: or what do I have to do to make it look like a

Re: How to get pkg to recognize local repository?

2017-07-16 Thread Franco Fichtner
> On 17. Jul 2017, at 8:44 AM, Thomas Mueller wrote: > > What meta files? There is a metamail-2.7_11.txz, but I don't think that's > what you meant. The files digests.txz, meta.txz and packagesite.txz, like this... https://pkg.opnsense.org/FreeBSD:11:amd64/17.1/latest/ > > On the drive I w

Re: How to get pkg to recognize local repository?

2017-07-16 Thread Thomas Mueller
> > On 17. Jul 2017, at 7:10 AM, Thomas Mueller wrote: > > pkg-static: Ignoring bad configuration entry in > > /usr/local/etc/pkg/repos/mytemprepo.conf: "file:///mnt/usr/packages/All" > > pkg-static: Warning: Major OS version upgrade detected. Running > > "pkg-static install -f pkg" recommende

Re: How to get pkg to recognize local repository?

2017-07-16 Thread Matthias Apitz
El día lunes, julio 17, 2017 a las 05:10:06a. m. +, Thomas Mueller escribió: > How do I get pkg to recognize a local repository such as > /mnt/usr/packages/All, or does pkg only recognize remote repositories? > > ... I use: $ ls -l /usr/local/etc/pkg/repos/*.conf -rw-r--r-- 1 root wheel

Re: How to get pkg to recognize local repository?

2017-07-16 Thread Franco Fichtner
> On 17. Jul 2017, at 7:10 AM, Thomas Mueller wrote: > > pkg-static: Ignoring bad configuration entry in > /usr/local/etc/pkg/repos/mytemprepo.conf: "file:///mnt/usr/packages/All" > pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static > install -f pkg" recommended > No