pkg 1.2_1

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Nov 28 17:54:53 UTC 2013


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 at 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 at 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.

	Cheers,

	Matthew



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1029 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20131128/671ae8e1/attachment.sig>


More information about the freebsd-questions mailing list