"pkgdb -F" is failing me...

Chuck Swiger cswiger at mac.com
Thu Oct 12 10:01:05 PDT 2006


On Oct 11, 2006, at 11:06 PM, Sergey Matveychuk wrote:
>> "pkgdb -F" is failing with a "can't convert nil into String" error.
>
> I aware the problem. It's in my TODO and waiting for my free time  
> to be
> investigated.

OK, Sergey, thank you much for the response.

As always, problems get fixed when people spend the time to work on  
them.
If you could use more information from me, I'd be happy to provide  
more details.

Although, as I mentioned elsewhere in the thread, deleting all of the  
ports, and installing ldconfig_compat by hand worked.

>> 10-ns1# portupgrade -ai
>> --->  Session started at: Wed, 11 Oct 2006 13:11:06 -0400
>> Stale dependency: cabextract-1.1_1 --> ldconfig_compat-1.0_8 --  
>> manually
>> run 'pkgdb -F' to fix, or specify -O to force.
>> --->  Session ended at: Wed, 11 Oct 2006 13:11:06 -0400 (consumed  
>> 00:00:00)
>> 11-ns1# pkgdb -F
>> --->  Checking the package registry database
>> Stale dependency: cabextract-1.1_1 -> ldconfig_compat-1.0_8
>> (misc/ldconfig_compat):
>> Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
>> Fixed. (-> ldconfig_compat-1.0_8)
>
> It's expected to be installed after that. But as you wrote it does  
> not.

Right.

>> --->  Checking the package registry database
>> Stale dependency: cabextract-1.1_1 -> ldconfig_compat-1.0_8 ():
>
> And here it couldn't find an origin "()".

Should pkgdb not change the origin until after the port it thinks is  
the new dependency actually is installed?

-- 
-Chuck



More information about the freebsd-ports mailing list