From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 15:47:05 2005 Return-Path: X-Original-To: questions@Freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3939616A421 for ; Tue, 19 Jul 2005 15:47:05 +0000 (GMT) (envelope-from paulbeard@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C9D943D6D for ; Tue, 19 Jul 2005 15:47:02 +0000 (GMT) (envelope-from paulbeard@mac.com) Received: from mac.com (smtpin07-en2 [10.13.10.152]) by smtpout.mac.com (Xserve/8.12.11/smtpout01/MantshX 4.0) with ESMTP id j6JFl2if012166 for ; Tue, 19 Jul 2005 08:47:02 -0700 (PDT) Received: from [192.168.2.8] (dsl001-134-183.sea1.dsl.speakeasy.net [72.1.134.183]) (authenticated bits=0) by mac.com (Xserve/smtpin07/MantshX 4.0) with ESMTP id j6JFl0Kt019795 for ; Tue, 19 Jul 2005 08:47:01 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-36--400584770" To: FreeBSD-questions From: paul beard Date: Tue, 19 Jul 2005 08:46:59 -0700 X-Pgp-Agent: GPGMail 1.1 (Tiger) X-Mailer: Apple Mail (2.733) Cc: Subject: Still have questions on portupgrade database problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 15:47:05 -0000 --Apple-Mail-36--400584770 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed I am still seeing this error if I run portupgrade -a: ---> Session started at: Tue, 19 Jul 2005 08:30:17 -0700 [Rebuilding the pkgdb in /var/db/pkg ... - 542 packages found (-0 +542) .................................................................. ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ........................................................................ ............................................ done] ---> Session ended at: Tue, 19 Jul 2005 08:34:00 -0700 (consumed 00:03:42) /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': cannot convert nil into String (PkgDB::DBError) from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:914:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:914:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:906:in `each' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:906:in `tsort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:928:in `sort_build' from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:932:in `sort_build!' from /usr/local/sbin/portupgrade:674:in `main' from /usr/local/sbin/portupgrade:207:in `initialize' from /usr/local/sbin/portupgrade:207:in `new' from /usr/local/sbin/portupgrade:207:in `main' from /usr/local/sbin/portupgrade:1869 I have heeded the advice in UPDATING: > adjust the PORTS_DBDRIVER variable (in your environment or in > pkgtools.conf) to either bdb1_hash or dbm_hash. but it doesn't seem to take. I have bdb1_hash in pkgtools.conf. I have even tried -q/--noconfig to only take environment variables. [/var/db/pkg]# export PORTS_DBDRIVER=bdb1_hash; pkgdb -qF ---> Checking the package registry database [Rebuilding the pkgdb in /var/db/pkg ... - 542 packages found (-0 +542) .............................. what am I missing? FWIW, I can use an incantation of portmanager to find the outdated ports and use portupgrade on the one by one. -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf Are you trying to win an argument or solve a problem? --Apple-Mail-36--400584770 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFC3SBzfHLPwpj1/JQRAp0hAJ9KTDnrJBttP1VLCo22dH25zoxohQCglkLW xOeo7dPlPTsa63mpaiw/feM= =HJP1 -----END PGP SIGNATURE----- --Apple-Mail-36--400584770--