pkgng woes
Matthew Pounsett
matt at conundrum.com
Tue Jan 7 22:31:46 UTC 2014
On 2014-01-07, at 17:25 , Matthew Seaman <matthew at FreeBSD.org> 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 pkg.freebsd.org (see:
> http://svnweb.freebsd.org/base/head/etc/pkg/FreeBSD.conf?view=markup) --
>
> FreeBSD: {
> url: "pkg+http://pkg.FreeBSD.org/${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:
>
> http://svnweb.freebsd.org/base/head/share/keys/pkg/trusted/pkg.freebsd.org.2013102301?revision=257344&view=markup
>
> 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.
Thanks.
More information about the freebsd-questions
mailing list