From owner-freebsd-questions@FreeBSD.ORG Thu Jul 21 17:49:40 2005 Return-Path: X-Original-To: freebsd-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 C477816A429 for ; Thu, 21 Jul 2005 17:49:40 +0000 (GMT) (envelope-from maarfree@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3865843D7E for ; Thu, 21 Jul 2005 17:49:31 +0000 (GMT) (envelope-from maarfree@xs4all.nl) Received: from maarten.sandersatkins.nl (a80-127-55-226.adsl.xs4all.nl [80.127.55.226]) by smtp-vbr14.xs4all.nl (8.13.3/8.13.3) with ESMTP id j6LHnVbm079648 for ; Thu, 21 Jul 2005 19:49:31 +0200 (CEST) (envelope-from maarfree@xs4all.nl) From: maarfree To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Thu, 21 Jul 2005 19:49:41 +0200 Message-Id: <1121968181.89280.15.camel@maarten> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Subject: portupgrade error 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: Thu, 21 Jul 2005 17:49:41 -0000 Hi all, Please see below. Why does portupgrade -a not work and does -afp? I have tried everything, I read UPDATING and added ENV['PKG_DBDRIVER'] = 'bdb1_hash' and ENV['PORTS_DBDRIVER'] = 'bdb1_hash' to pkgtools.conf. I removed pkgdb.db and INDEX'es. Rebuild everything with portsdb -u and portsdb -uU and I even removed /usr/ports and did a fresh cvsup. Anyone got a clue? Maarten maarten# uname -a FreeBSD maarten 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #7: Wed Jun 8 21:22:08 CEST 2005 maarten@maarten:/usr/obj/usr/src/sys/MAARTEN2 i386 maarten# portupgrade -a /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 maarten# portupgrade -afp ---> Reinstalling 'mDNSResponder-107.1_1' (net/mDNSResponder) ---> Building '/usr/ports/net/mDNSResponder' ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for gettext-0.14.5 ===> Cleaning for gmake-3.80_2 ===> Cleaning for libtool-1.5.18