From owner-freebsd-doc@FreeBSD.ORG Wed Jan 15 22:40:18 2014 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28A81BB5 for ; Wed, 15 Jan 2014 22:40:18 +0000 (UTC) Received: from hoffman.proper.com (IPv6.Hoffman.Proper.COM [IPv6:2605:8e00:100:41::81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F1EEC1E4C for ; Wed, 15 Jan 2014 22:40:17 +0000 (UTC) Received: from [10.20.30.90] (50-1-51-230.dsl.dynamic.fusionbroadband.com [50.1.51.230]) (authenticated bits=0) by hoffman.proper.com (8.14.7/8.14.7) with ESMTP id s0FMK8DQ087143 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 15 Jan 2014 15:20:10 -0700 (MST) (envelope-from phoffman@proper.com) X-Authentication-Warning: hoffman.proper.com: Host 50-1-51-230.dsl.dynamic.fusionbroadband.com [50.1.51.230] claimed to be [10.20.30.90] Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: The Handbook doc on "pkg" is badly out of date From: Paul Hoffman In-Reply-To: Date: Wed, 15 Jan 2014 14:40:14 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1AD4F981-7EB6-4959-A773-560C9617839E@proper.com> <30026F0F-8FCE-4F4C-B8FE-0A1A814D6B99@proper.com> To: Warren Block X-Mailer: Apple Mail (2.1827) Cc: freebsd-doc@FreeBSD.org X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2014 22:40:18 -0000 On Jan 15, 2014, at 2:05 PM, Warren Block wrote: >> You might have this backwards. I'm pretty sure that the handbook = shows the old configuration information, and the Wiki shows the new. >=20 > I don't understand how. The Handbook mentions pkg.conf but does not = show any entries for it, while the wiki shows a sample file. =20 The handbook says: =3D=3D=3D=3D=3D The pkgng package management system uses a package repository for most = operations. The default package repository location is defined in = /usr/local/etc/pkg.conf or by the PACKAGESITE environment variable, = which overrides the configuration file. =3D=3D=3D=3D=3D That's not true. The default package respository location is defined in = /usr/local/etc/pkg/repos/FreeBSD.conf, as the Wiki describes. > Again, I believe the file changed, and it was the presence of the = obsolete version that caused the messages. The current port only = installs pkg.conf.sample. Well, yes. And, when you read the above in the Handbook and see the = .sample file, you copy to to pkg.conf. > Maybe it would help to be more specific: what needs to be changed in = the Handbook version? Say that the configuration goes in = /usr/local/etc/pkg/repos/FreeBSD.conf, and show the sample = configuration. > Without pkg.conf, the current version of pkg does not complain, so = that seems okay. I'm pretty sure it complained (or obviously didn't work) or I wouldn't = have known to go searching. I did not save the error message, but I'm = quite sure it didn't work as one would hope. --Paul Hoffman=