Date: Wed, 15 Jan 2014 17:12:10 -0500 From: Allan Jude <freebsd@allanjude.com> To: freebsd-doc@freebsd.org Subject: Re: The Handbook doc on "pkg" is badly out of date Message-ID: <52D707BA.8030309@allanjude.com> In-Reply-To: <alpine.BSF.2.00.1401151456250.84275@wonkity.com> References: <1AD4F981-7EB6-4959-A773-560C9617839E@proper.com> <alpine.BSF.2.00.1401151322090.83038@wonkity.com> <30026F0F-8FCE-4F4C-B8FE-0A1A814D6B99@proper.com> <alpine.BSF.2.00.1401151456250.84275@wonkity.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <wblock@wonkity.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D707BA.8030309>