Andy Smith
2004-Jun-25 19:45 UTC
portupgrade error - `deorigin': cannot convert nil into String (PkgDB::DBError)
Ever since a recent cvsup of ports and a portsdb -Uu, portupgrade
has been giving the following error:
---> Session started at: Fri, 25 Jun 2004 18:58:25 +0000
---> Session ended at: Fri, 25 Jun 2004 18:58:28 +0000 (consumed 00:00:03)
/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 have tried:
- Waiting a day and doing another cvsup
- Doing make index / portsdb -Uu
- Removing ruby and portupgrade and reinstalling
but I still get the same error.
I also searched the mailing list archives and found someone with a
very similar error:
http://lists.freebsd.org/pipermail/freebsd-stable/2003-May/001255.html
however, I've already learnt my lesson about refusing ports, and so
my sup/refuse contains only:
ports/INDEX
ports/INDEX-5
Anyone have any other ideas?
--
http://freebsdwiki.org/ - Encrypted mail welcome - keyid 0xBF15490B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20040625/775420b1/attachment.bin
Kent Stewart
2004-Jun-25 20:12 UTC
portupgrade error - `deorigin': cannot convert nil into String (PkgDB::DBError)
On Friday 25 June 2004 12:25 pm, Andy Smith wrote:> Ever since a recent cvsup of ports and a portsdb -Uu, portupgrade > has been giving the following error: > > ---> Session started at: Fri, 25 Jun 2004 18:58:25 +0000 > ---> Session ended at: Fri, 25 Jun 2004 18:58:28 +0000 (consumed > 00:00:03) /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 have tried: > > - Waiting a day and doing another cvsup > > - Doing make index / portsdb -Uu > > - Removing ruby and portupgrade and reinstalling > > but I still get the same error. > > I also searched the mailing list archives and found someone with a > very similar error: > > http://lists.freebsd.org/pipermail/freebsd-stable/2003-May/001255.htm >l > > however, I've already learnt my lesson about refusing ports, and so > my sup/refuse contains only: > > ports/INDEX > ports/INDEX-5 > > Anyone have any other ideas?Someone on ports said to run portsdb -fu to fix this one. The cooment was> Probably a ruby bug. Rebuilding {pkg|ports}.db from scratch will do, Ithink. But I thought that was a pkgdb -fu. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html