pkgng woes

Matthew Pounsett matt at
Tue Jan 7 22:31:46 UTC 2014

On 2014-01-07, at 17:25 , Matthew Seaman <matthew at> wrote:

>> I am getting warnings about the use of PACKAGESITE in the default config, but it works.  
> That's because you're using some out of date settings.  What you need is
> the following:
>  1) /usr/local/etc/pkg.conf -- you only need this to override global
> settings.  Most people should *remove* this file.  If you do keep it, do
> not define packagesite in here.

I didn't.  As I noted, I'm using the one supplied on a pristine 9.2-RELEASE system.

>  2) Instead, you need a repository specific config file.  This is the
> default config for using (see:
> --
> FreeBSD: {
>  url: "pkg+${ABI}/latest",
>  mirror_type: "srv",
>  signature_type: "fingerprints",
>  fingerprints: "/usr/share/keys/pkg",
>  enabled: yes
> }
> Save that as /usr/local/etc/pkg/repos/FreeBSD.conf
>  3) You also need the package signing keys from here:
> If you want to set up your own repo, then read pkg.conf(5), which
> describes the pre-repo config files too.

If the default pkg.conf isn't a good one, it should be replaced by something that is, and the docs in the handbook should be updated to include instructions for setting it up.


More information about the freebsd-questions mailing list