pkg with 9.1RC3
    doug 
    doug at fledge.watson.org
       
    Wed Aug  6 16:38:59 UTC 2014
    
    
  
On Mon, 4 Aug 2014, Matthew Seaman wrote:
> On 04/08/2014 01:40, doug at 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 at 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"
   }
    
    
More information about the freebsd-questions
mailing list