From owner-freebsd-questions@FreeBSD.ORG Tue Jan 7 22:31:46 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5AF51C8A; Tue, 7 Jan 2014 22:31:46 +0000 (UTC) Received: from kaywinnit.conundrum.com (smtp.conundrum.com [IPv6:2001:4900:1:213::2:20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 346931612; Tue, 7 Jan 2014 22:31:46 +0000 (UTC) Received: from [2001:4900:1044:0:c9d:ee8d:6b4b:9de1] by kaywinnit.conundrum.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82 (FreeBSD)) (envelope-from ) id 1W0fBY-0009La-Jq; Tue, 07 Jan 2014 22:31:44 +0000 Subject: Re: pkgng woes Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=windows-1252 From: Matthew Pounsett In-Reply-To: <52CC7EDE.7020007@FreeBSD.org> Date: Tue, 7 Jan 2014 17:31:38 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <5103F68F-CAD2-4D0B-ADFD-6A992F31121A@conundrum.com> References: <88AA764A-5C9E-44DC-A604-C7A961983FC1@conundrum.com> <52CC7EDE.7020007@FreeBSD.org> To: Matthew Seaman X-Mailer: Apple Mail (2.1510) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2014 22:31:46 -0000 On 2014-01-07, at 17:25 , Matthew Seaman wrote: >> I am getting warnings about the use of PACKAGESITE in the default = config, but it works. =20 >=20 > That's because you're using some out of date settings. What you need = is > the following: >=20 > 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. >=20 > 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=3Dmarkup) = -- >=20 > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } >=20 > Save that as /usr/local/etc/pkg/repos/FreeBSD.conf >=20 > 3) You also need the package signing keys from here: >=20 > = http://svnweb.freebsd.org/base/head/share/keys/pkg/trusted/pkg.freebsd.org= .2013102301?revision=3D257344&view=3Dmarkup >=20 > 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.