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 <wbl...@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-unsubscr...@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.

-- 
Allan Jude


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to