"pkgdb -F" is failing me...
Drew Sanford
lauasanf at wilderness.homeip.net
Wed Oct 11 10:36:24 PDT 2006
Chuck Swiger wrote:
> Hi, all--
>
> "pkgdb -F" is failing with a "can't convert nil into String" error.
>
> 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)
> Stale dependency: curl-7.15.5 -> ldconfig_compat-1.0_8
> (misc/ldconfig_compat):
> ldconfig_compat-1.0_8 ? ([y]es/[n]o/[a]ll) [yes]
> Fixed. (-> ldconfig_compat-1.0_8)
> Stale dependency: gnupg-1.4.5_1 -> ldconfig_compat-1.0_8
> (misc/ldconfig_compat):
> ldconfig_compat-1.0_8 ? ([y]es/[n]o/[a]ll) [yes]
> Fixed. (-> ldconfig_compat-1.0_8)
> Stale dependency: portupgrade-2.1.3.3_1,2 -> ldconfig_compat-1.0_8
> (misc/ldconfig_compat):
> ldconfig_compat-1.0_8 ? ([y]es/[n]o/[a]ll) [yes]
> Fixed. (-> ldconfig_compat-1.0_8)
> Stale dependency: postfix-2.3.3,1 -> ldconfig_compat-1.0_8
> (misc/ldconfig_compat):
> ldconfig_compat-1.0_8 ? ([y]es/[n]o/[a]ll) [yes]
> Fixed. (-> ldconfig_compat-1.0_8)
> Stale dependency: ruby-1.8.5_2,1 -> ldconfig_compat-1.0_8
> (misc/ldconfig_compat):
> ldconfig_compat-1.0_8 ? ([y]es/[n]o/[a]ll) [yes]
> Fixed. (-> ldconfig_compat-1.0_8)
> 85.92s real 13.94s user 1.88s system 18%
> 12-ns1# portupgrade -ai
> ---> Session started at: Wed, 11 Oct 2006 13:12:41 -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:12:41 -0400 (consumed
> 00:00:00)
> 13-ns1# pkgdb -F
> ---> Checking the package registry database
> Stale dependency: cabextract-1.1_1 -> ldconfig_compat-1.0_8 ():
> 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...
>
> ---Chuck
I recently ran into this problem as well. I had some duplicate origins
that I fixed and at that point, everything picked up and ran fine for
me. Don't know if that helps you or not, but it's what worked for me.
More information about the freebsd-ports
mailing list