"pkgdb -F" is failing me...

Sergey Matveychuk sem at FreeBSD.org
Wed Oct 11 23:06:36 PDT 2006


Chuck Swiger wrote:
> Hi, all--
> 
> "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.

> 
> 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.

> --->  Checking the package registry database
> Stale dependency: cabextract-1.1_1 -> ldconfig_compat-1.0_8 ():

And here it couldn't find an origin "()".

> Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
> can't convert nil into String
> 11.04s real  6.84s user  0.60s system  67%
> 14-ns1# uname -a
> FreeBSD ns1.pkix.net 4.11-STABLE FreeBSD 4.11-STABLE #0: Sat Jun 18
> 18:51:43 EDT 2005
>      root at ns1.pkix.net:/usr/obj/usr/src/sys/NORMAL  i386
> 
> Note that I didn't even have this ldconfig_compat-1.0_8 port installed;
> I don't see how it could possibly be chosen to replace a stale
> dependency...

-- 
Dixi.
Sem.


More information about the freebsd-ports mailing list