From owner-freebsd-questions@FreeBSD.ORG Wed Aug 6 16:38:59 2014 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 597F5598 for ; Wed, 6 Aug 2014 16:38:59 +0000 (UTC) Received: from cyrus.watson.org (cyrus.watson.org [198.74.231.69]) by mx1.freebsd.org (Postfix) with ESMTP id 2BCF4250A for ; Wed, 6 Aug 2014 16:38:59 +0000 (UTC) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id F213246B3F; Wed, 6 Aug 2014 12:38:57 -0400 (EDT) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.8/8.14.8) with ESMTP id s76Gcvn2058864; Wed, 6 Aug 2014 12:38:57 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.8/8.14.8/Submit) with ESMTP id s76GcvsE058860; Wed, 6 Aug 2014 12:38:57 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Wed, 6 Aug 2014 12:38:57 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: Matthew Seaman Subject: Re: pkg with 9.1RC3 In-Reply-To: <53DF1CCB.5070507@infracaninophile.co.uk> Message-ID: References: <53DF1CCB.5070507@infracaninophile.co.uk> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (fledge.watson.org [127.0.0.1]); Wed, 06 Aug 2014 12:38:57 -0400 (EDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 16:38:59 -0000 On Mon, 4 Aug 2014, Matthew Seaman wrote: > On 04/08/2014 01:40, doug@safeport.com wrote: >> Okay, I duplicated my earlier attempt. Last time I ran freebsd-update, >> did a portsnap, and built pkg. This time I skipped all that and just did >> the bootstrap as in the handbook. >> >> built the system: uname -a >> FreeBSD odin.boltsys.com 9.1-RC3 FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 >> 00:58:57 UTC 2012 >> root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >> >> My steps: >> boot pkg >> pkg2ng >> pkg install -x perl5 >> Updating repository catalogue >> No valid repository found. >> >> I have attached the output of the above. This was the point I decided I >> had to update to 9.1-release and it all worked. This time around, I can >> tell I do not have pkg installed properly as 'pkg help ' does >> not work. Any help gives 'No manual entry for pkg-' >> >> Clearly something is wrong here, but I do not know what I did. > > Do you have /etc/pkg/FreeBSD.conf ? What do you have matching I had to build another system to test this. This dir/file was not created on RC3 but is present on 9.1-release > /usr/local/etc/pkg/repos/*.conf ? there is no pkg/repos/ dir on either system. Both have identical pkg.conf files. > pkg -vv > > should show at least one repository listed at the end of the output. pgk -vv shows the error. On the RC3 system output ends with: : LOCK_WAIT = 1; LOCK_RETRIES = 5; SQLITE_PROFILE = false; WORKERS_COUNT = 0; On the system updated to 9.1-release: : LOCK_WAIT = 1; LOCK_RETRIES = 5; SQLITE_PROFILE = false; WORKERS_COUNT = 0; Repositories: FreeBSD: { url : "pkg+http://pkg.FreeBSD.org/freebsd:9:x86:64/latest", enabled : yes, mirror_type : "SRV", signature_type : "FINGERPRINTS", fingerprints : "/usr/share/keys/pkg" }