From owner-freebsd-questions@FreeBSD.ORG Thu May 29 10:27:55 2003 Return-Path: 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 7476537B401 for ; Thu, 29 May 2003 10:27:55 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A238443F85 for ; Thu, 29 May 2003 10:27:54 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from topaz-out (owt-207-41-94-233.owt.com [207.41.94.233]) by rutger.owt.com (8.11.6p2/8.9.3) with ESMTP id h4THRpV29903; Thu, 29 May 2003 10:27:51 -0700 From: Kent Stewart To: Andrea Venturoli , freebsd-questions@freebsd.org Date: Thu, 29 May 2003 10:27:50 -0700 User-Agent: KMail/1.5.2 References: <200305291159.h4TBxV1W003957@soth.ventu> In-Reply-To: <200305291159.h4TBxV1W003957@soth.ventu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305291027.50206.kstewart@owt.com> Subject: Re: portupgrade problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 17:27:55 -0000 On Thursday 29 May 2003 11:59 am, Andrea Venturoli wrote: > Hello, I have a strange problem on a couple of FreeBSD 4.7 machines which > share the same port tree (via NFS). > > Whenever I try to upgrade a port I get: > > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:310:in `deorigin': failed to > convert nil into String (PkgDB::DBError) from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:903:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `each' from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:902:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `each' from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:894:in `tsort_build' from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:916:in `sort_build' from > /usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:920: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:1834 > > Any hint? > There was a similar problem recently and it was caused by adding important items to their refuse file. The refuse was causing poor versions of INDEX and INDEX.db to be created. For make index to work, it needs a full cvsup of ports-all. If you aren't willing to do this, then installing packages will probably be your only problem free method. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html