From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 22:48:44 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 5377516A41C for ; Fri, 8 Jul 2005 22:48:44 +0000 (GMT) (envelope-from paulbeard@mac.com) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id F36B343D46 for ; Fri, 8 Jul 2005 22:48:43 +0000 (GMT) (envelope-from paulbeard@mac.com) Received: from mac.com (smtpin02-en2 [10.13.10.147]) by smtpout.mac.com (Xserve/8.12.11/smtpout07/MantshX 4.0) with ESMTP id j68Mmh9l015031 for ; Fri, 8 Jul 2005 15:48:43 -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/smtpin02/MantshX 4.0) with ESMTP id j68MmgPv029148 for ; Fri, 8 Jul 2005 15:48:43 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v730) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: FreeBSD-questions From: paul beard Date: Fri, 8 Jul 2005 15:48:40 -0700 X-Mailer: Apple Mail (2.730) Cc: Subject: portupgrade error [cannot convert nil into String (PkgDB::DBError)] 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: Fri, 08 Jul 2005 22:48:44 -0000 I am having some problems with portupgrade. The error message is "/ usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': " (more below). I see there have been isolated occurrences of this in June of 2003 and 2004, curiously, but I haven't found the solutions there to work. Removing the ports tree and re-fetching it, removing and rebuilding pkgdb, removing and reinstalling portupgrade/ruby, etc, even building a new kernel and world, seem ineffective. I'm still on 4.x (FreeBSD red.paulbeard.org 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Tue Jul 5 10:46:00 PDT 2005 root@red.paulbeard.org:/usr/obj/usr/src/sys/RED i386) if that helps. Please include me on replies as I am off the list. Thanks for any pointers. [/]# portsdb -Ufu Updating the ports index ... Generating INDEX.tmp - please wait..Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.1_2 Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.2 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 Done. done [Updating the portsdb in /opt/ports ... - 13138 port entries found ......... 1000.........2000.........3000.........4000.........5000.........6000... ...... 7000.........8000.........9000.........10000.........11000.........12000 .........13000. ..... done] (root@red.paulbeard.org)-(03:34 PM / Fri Jul 08) [/]# portupgrade -avvv ---> Session started at: Fri, 08 Jul 2005 15:37:34 -0700 ---> Session ended at: Fri, 08 Jul 2005 15:37:56 -0700 (consumed 00:00:22) /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:322:in `deorigin': 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 -- Paul Beard contact info: www.paulbeard.org/paulbeard.vcf Are you trying to win an argument or solve a problem?