portupgrade error

Kent Stewart kstewart at owt.com
Fri Jul 16 15:51:08 PDT 2004

On Friday 16 July 2004 11:49 am, Guido Falsi wrote:
> Hello!
> I'm experiencing a strange erro message fro portupgrade:
> wedge# portupgrade -a
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:323:in `deorigin': cannot
> convert nil into String (PkgDB::DBError) from
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:916:in `tsort_build' from
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:915:in `each' 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:907:in `each' from
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:907:in `tsort_build' from
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:929:in `sort_build' from
> /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:933: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:1845
> I've looked around the mailing list archives and tried all the
> proposed solutions... rebuilding ruby and portupgrade from scratch,
> deleting and rebuilding all ports and pkg related databases,
> recvupping the ports tree from scratch(I have an empty refuse file).

This looks like the problem that portupgrade was having a while back. If 
you can't portupgrade portupgrade, delete it and build it from scratch. 
Ruby and been updated and you might as well start with it.


> None worked and I'm really out of ideas. Anyone can help?
> The machine is a -current cvsupped on Jul 13, but I don't think this
> is the cause of the problem.
> for reference:
> wedge# uname -a
> FreeBSD wedge.madpilot.net 5.2-CURRENT FreeBSD 5.2-CURRENT #3: Tue
> Jul 13 16:27:54 CEST 2004
> root at wedge.madpilot.net:/usr/obj/usr/src/sys/WEDGE  i386
> Thanks in advance for any kind of suggestion!

Kent Stewart
Richland, WA


More information about the freebsd-ports mailing list