Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2003 10:27:50 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Andrea Venturoli <ml.ventu@flashnet.it>, freebsd-questions@freebsd.org
Subject:   Re: portupgrade problems
Message-ID:  <200305291027.50206.kstewart@owt.com>
In-Reply-To: <200305291159.h4TBxV1W003957@soth.ventu>
References:  <200305291159.h4TBxV1W003957@soth.ventu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305291027.50206.kstewart>