Date: Sat, 21 Jul 2018 17:14:39 +0200 From: Nicola Mingotti <nmingotti@gmail.com> To: John Kennedy <warlock@phouka.net> Cc: Ronald Klop <ronald-lists@klop.ws>, freebsd-arm@freebsd.org Subject: Re: Issues with packages Message-ID: <08d1e35b-fafe-7c6f-a57e-e01cc39bd7a0@gmail.com> In-Reply-To: <20180721140919.GA75644@phouka1.phouka.net> References: <43092f74-f303-35cc-765a-3634f1a90127@gmail.com> <op.zmhyqlwskndu52@klop.ws> <f910916c-8806-0a8b-35a3-e826bbf347a7@gmail.com> <20180721140919.GA75644@phouka1.phouka.net>
index | next in thread | previous in thread | raw e-mail
On 07/21/18 16:09, John Kennedy wrote:
> On Sat, Jul 21, 2018 at 03:33:59PM +0200, Nicola Mingotti wrote:
>> ... I have a few newbye question,
>> -] How do I check from which reposotory/directory my *pkg* is taking the
>> packages ?
>> -] Is it possible to change it ?
>>
>> I read around in many man pages but i can't find it.
> The pkg(8) man page would lead you to pkg.conf(5) which points you to to
> /usr/local/etc/pkg.conf and talks about the defaults of REPOS_DIR, which in
> turn points you look at the contents of /etc/pkg and /usr/local/etc/pkg/repos.
> The configuration you're looking for should be in /etc/pkg/FreeBSD.conf
>
> My RPI has this:
>
> FreeBSD: {
> url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
> mirror_type: "srv",
> signature_type: "fingerprints",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
Thank you John,
I arrived at pkg.conf but I was not patient enough to land to
/etc/pkg/FreeBSD.conf ;)
anyhow, my FreeBSD.conf has this:
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
So the mistery of the missing but compilable packages is solved for me.
I was picking packages from "quarterly" but compiling
ports from a recently got ports tree, wich corresponds more closely to the
"latest" package directory.
I will look into "latest" before compiling the stuff myself next time.
Bye
Nicola
--
--------------------------
Dr. Nicola Mingotti
R&D - Borghi Srl
CTO - BondInsider
--------------------------
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?08d1e35b-fafe-7c6f-a57e-e01cc39bd7a0>
