Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2017 02:33:22 +0000
From:      "Thomas Mueller" <mueller6722@twc.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: How to get pkg to recognize local repository?
Message-ID:  <9B.30.25786.4737D695@dnvrco-omsmta03>
References:  <CF.51.25924.DA64C695@dnvrco-omsmta02> <A5AC7C48-0736-4AAA-9C49-91A23DDBA74B@lastsummer.de> <20170717052106.GC2368@c720-r31425> <D5.B5.08177.DDC5C695@dnvrco-omsmta01> <053AE5F1-4FF1-40AB-B768-D43AD5B29D21@lastsummer.de> <bae5dfd0-b1f1-02bc-a028-37f7afd0013f@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 sync: 223 packages I didn't show.  How to delete? 

Or more generally, how to delete old packages in /usr/packages/All in a reasonable time?  Midnight Commander, which I recently installed on NetBSD but have not yet used?

> 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 repository?


> It is mentioned at [1]: the scheme is documented at FETCH(3) .


> HTH

> WBR, Boris Samorodov (bsam)

This looks like it might help, but PKG-REPOSITORY and FETCH have to be lower-case, won't work with capital letters.

Excerpt from Adam Weinberger:

> myfirstrepo: {
>         url: file:///path/to/first/repo,
>         priority: 99
> },
> mysecondrepo: {
>         url: file:///path/to/second/repo,
>         priority: 98
> }

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 myfirst repo and mysecondrepo are both in the same .conf file?


Tom




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9B.30.25786.4737D695>