From owner-freebsd-questions@FreeBSD.ORG Thu Nov 28 18:55:50 2013 Return-Path: Delivered-To: freebsd-questions@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 CBFF27D for ; Thu, 28 Nov 2013 18:55:50 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 876E51EF5 for ; Thu, 28 Nov 2013 18:55:50 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vm6kd-0007jc-OD for freebsd-questions@freebsd.org; Thu, 28 Nov 2013 19:55:47 +0100 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginm.net ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Nov 2013 19:55:47 +0100 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Nov 2013 19:55:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: pkg 1.2_1 Date: Thu, 28 Nov 2013 18:55:26 +0000 (UTC) Lines: 67 Message-ID: References: <1894592.P4B1yXKRe7@lumiwa.farms.net> <5297835E.6060105@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginm.net User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 18:55:51 -0000 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?