From owner-freebsd-doc@FreeBSD.ORG Wed Jan 15 22:12:20 2014 Return-Path: Delivered-To: freebsd-doc@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 8E16A3CF for ; Wed, 15 Jan 2014 22:12:20 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3B01B08 for ; Wed, 15 Jan 2014 22:12:19 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id CA40052ED8 for ; Wed, 15 Jan 2014 22:12:10 +0000 (UTC) Message-ID: <52D707BA.8030309@allanjude.com> Date: Wed, 15 Jan 2014 17:12:10 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-doc@freebsd.org Subject: Re: The Handbook doc on "pkg" is badly out of date References: <1AD4F981-7EB6-4959-A773-560C9617839E@proper.com> <30026F0F-8FCE-4F4C-B8FE-0A1A814D6B99@proper.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OGwdNSgEtIggV3w5Q7V78COSKKNaCOvfk" 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:12:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --OGwdNSgEtIggV3w5Q7V78COSKKNaCOvfk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-01-15 17:05, Warren Block wrote: > On Wed, 15 Jan 2014, Paul Hoffman wrote: > >> On Jan 15, 2014, at 12:24 PM, Warren Block wrote:= >> >>> The mysterious messages were due to a a default configuration file >>> which I think is not installed with the latest version of pkg. >> >> It was in the "pkg" I got this morning, which reminded me of this sad >> workflow. > > I installed the port. I don't know how often the packages are updated.= > >>> I switched a 9.2 system over to pkg a couple of days ago, and did >>> what the Handbook says--really, just install pkg and run pkg2ng--and >>> did not see those messages. >> >> >> You might have this backwards. I'm pretty sure that the handbook >> shows the old configuration information, and the Wiki shows the new. > > 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. 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. > > Maybe it would help to be more specific: what needs to be changed in > the Handbook version? Without pkg.conf, the current version of pkg > does not complain, so that seems okay. > _______________________________________________ > freebsd-doc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-doc > To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org" In 10.x and later, there is a /etc/pkg/freebsd.conf that contains the default package site, and the format of pkg.conf changed If you get the bootstrapped version of pkg on 9 that is still pkg 1.1.4 or whatever, it installs a pkg.conf that is the 'old' format Upgrading to pkg 1.2 may cause extra warnings. If removing /usr/local/etc/pkg.conf makes them go away, then that was the problem. --=20 Allan Jude --OGwdNSgEtIggV3w5Q7V78COSKKNaCOvfk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJS1we+AAoJEJrBFpNRJZKf6oYP/0PP9FcdHPGW4Ah1nBACD36l mf99RDUDSclVEhW1i0BgXXBzErfntlpiVc3PQJnAsEP7L1hLnLrVQ6coxXJGw3AE GOokdrvVfq1RsJ5hpIA5PmkLf3rN25HuXRMP1pkSOBscdiHG1kWwiovNCj9oDvVK +cXGjLEonpgJibWabZad8/gwht8oyn1jZmp0ykXW7wmKdJOBwet48c5z64i2rl5C vUNjuMrMQtwvmqJ1DQGyVdyh90BhRfTb3RL83lvCDuRDkdtKdutzhaekCvxL9+5g FC9/88fEB4T477QiKvD1moQ9izSvl8+y2KcO+wInht3uVklkcNzlv6nRpgI3Klw7 cJBNj1hvLRSNZemqUzO1OjUMgqHvcbhY27qs42BFcSY/sxGBZVrrshyTIGCs2n87 ZTiep06LI8RiWGXpe/tXo8pf65GPKVse0SOWyVj1Kc29W2vvzxoNOzOC4G0aQreP nV3udDtgeETiAvKmlbWhopvUp+dEBC23O4M/r2EBj1UvSF5nlszSi0B8TqQeHqFE b8t4clEFcLwKaApummgxqsvOTguRGiShvrluPSf1dlYA5ImV1LxJRq1/BgdpifZq J7ISvvTM7Mo0G8qbsHIBLqAalNUMUriNp5+ugP1qurGedhT30p8tCLFeZXoy83Tk KUOejEFJccEe/durCldV =O6vo -----END PGP SIGNATURE----- --OGwdNSgEtIggV3w5Q7V78COSKKNaCOvfk--