Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 18:55:26 +0000 (UTC)
From:      Walter Hurry <walterhurry@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pkg 1.2_1
Message-ID:  <l783it$t31$1@ger.gmane.org>
References:  <1894592.P4B1yXKRe7@lumiwa.farms.net> <l77uio$3r9$1@ger.gmane. org> <5297835E.6060105@infracaninophile.co.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, 28 Nov 2013 17:54:38 +0000, Matthew Seaman wrote:

> On 11/28/13 17:30, Walter Hurry wrote:
>> On Tue, 26 Nov 2013 20:01:11 +0000, Matthew Seaman wrote:
>> 
>>> On 26/11/2013 18:25, Ajtim wrote:
>>>> Hi!
>>>>
>>>> On FreeBSD 10.0-BETA3 #0 r257580: Sun Nov  3 19:43:01 UTC 2013
>>>> root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64 I got after
>>>> update pkg to 1.2_1:
>>>>
>>>> portmaster -a ===>>> Gathering distinfo list for installed ports
>>>>
>>>> pkg: pkg: Warning: expecting a boolean for the 'enabled' key of the
>>>> 'FreeBSD' repo,  the value has been correctly converted, please
>>>> consider fixing
>>>
>>> In pkg.conf or any pkg/repos/repo.conf instead of saying eg.
>>>
>>> DISABLE_MTREE : "YES"
>>>
>>> say instead:
>>>
>>> DISABLE_MTREE : YES
>>>
>>> ie. without the quote marks.
>> 
>> Matthew,
>> 
>> I had the same issue as OP.
>> 
>> After duly fixing my /usr/local/etc/pkg/repos/FreeBSD.conf, the symptom
>> did *not* go away.
>> 
>> After a few checks and double checks I realised that there was
>> *another* FreeBSD.conf in /etc/pkg, put there, I think, by
>> buildworld/installworld.
>> 
>> Where should the file actually live?
>> 
>> uname and svn info:
>> ===============================================================
>> FreeBSD freebsd.vm 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257811: Fri Nov  8
>> 04:46:36 GMT 2013     root@freebsd.vm:/usr/obj/usr/src/sys/VM10  amd64
>> ===============================================================
>> Path: /usr/src Working Copy Root Path: /usr/src URL:
>> http://svn.freebsd.org/base/stable/10 Relative URL: ^/stable/10
>> Repository Root: http://svn.freebsd.org/base Repository UUID:
>> ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 257811 Node Kind:
>> directory Schedule: normal Last Changed Author: bdrewery Last Changed
>> Rev: 257797 Last Changed Date: 2013-11-07 15:43:41 +0000 (Thu, 07 Nov
>> 2013) ===============================================================
>> Thanks.
> 
> 
> Errr... yes.  The official FreeBSD.conf contains quotes around boolean
> values so pkg will complain.  There is a fix in the works but I'm not
> sure when it will be generally available.  In the mean time, it's only a
> few seconds work with an editor to fix things up.

Thanks. I understand that, but my question is where should the file 
actually live? In /etc/pkg, or in /usr/local/etc/pkg/repos?

And for that matter, where should pkg.conf be? I still have SHLIBS : YES 
in /usr/local/etc/pkg.conf. And is it still needed?





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?l783it$t31$1>