Issues with packages

Nicola Mingotti nmingotti at gmail.com
Sat Jul 21 15:14:44 UTC 2018



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



More information about the freebsd-arm mailing list