Date: Wed, 6 Aug 2014 12:38:57 -0400 (EDT) From: doug <doug@fledge.watson.org> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: pkg with 9.1RC3 Message-ID: <alpine.BSF.2.11.1408061201070.48400@fledge.watson.org> In-Reply-To: <53DF1CCB.5070507@infracaninophile.co.uk> References: <alpine.BSF.2.00.1408032032220.28907@bucksport.safeport.com> <53DF1CCB.5070507@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <command>' does >> not work. Any help gives 'No manual entry for pkg-<command>' >> >> 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" }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1408061201070.48400>