i am trying to do a portupgrade and after it running for 7 hrs and not doing anything it quits with this error message. black-buity# portupgrade -aRrcCv ---> Reading default options: -v -D -l /var/tmp/portupgrade.results -L /var/tmp/portupgrade-%s::%s.log ---> Session started at: Sat, 15 Jan 2005 12:07:25 -0800 [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 110 packages found (-0 +23) ....................... done] ---> Session ended at: Sat, 15 Jan 2005 19:13:25 -0800 (consumed 07:05:59) /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 black-buity# black-buity# ruby --version ruby 1.8.2 (2004-07-29) [i386-freebsd5] black-buity# uname -a FreeBSD black-buity.vampextream.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Dec 10 14:50:33 PST 2004 root@black-buity.vampextream.com:/usr/src/sys/i386/compile/VAMPEXTREAM i386 black-buity# i have read UPDATEING and didnt find any thing on 1.8 just updateing ruby from 1.6 to 1.8 .. so my quistions are 1. what would be causeing this?? 2. how do i fix this? and thanks inadvance for any help on this issue/ error message If you play the WindowsXP CD backwards, you get a Satanic message . That's nothing. If you play it forwards, it installs WindowsXP!
On Tue, Jan 18, 2005 at 03:01:46AM -0800, whitevamp wrote:> i am trying to do a portupgrade and after it running for 7 hrs and not doing > anything it quits with this error message. > > black-buity# portupgrade -aRrcCv > > ---> Reading default options: -v -D -l /var/tmp/portupgrade.results -L > /var/tmp/portupgrade-%s::%s.log > ---> Session started at: Sat, 15 Jan 2005 12:07:25 -0800 > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 110 packages > found (-0 +23) ....................... done] > ---> Session ended at: Sat, 15 Jan 2005 19:13:25 -0800 (consumed 07:05:59) > /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 > black-buity# > > black-buity# ruby --version > ruby 1.8.2 (2004-07-29) [i386-freebsd5] > black-buity# uname -a > FreeBSD black-buity.vampextream.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri > Dec 10 14:50:33 PST 2004 > root@black-buity.vampextream.com:/usr/src/sys/i386/compile/VAMPEXTREAM i386 > black-buity# > > i have read UPDATEING and didnt find any thing on 1.8 just updateing ruby > from 1.6 to 1.8 .. > so my quistions are > > 1. what would be causeing this?? > 2. how do i fix this? > > and thanks inadvance for any help on this issue/ error messageDatabase seems to be corrupted, rebuild it with 'pkgdb -fu' -Kirill
> i am trying to do a portupgrade and after it running for 7 hrs and not doing > anything it quits with this error message. > > black-buity# portupgrade -aRrcCv > > ---> Reading default options: -v -D -l /var/tmp/portupgrade.results -L > /var/tmp/portupgrade-%s::%s.log > ---> Session started at: Sat, 15 Jan 2005 12:07:25 -0800 > [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 110 packages > found (-0 +23) ....................... done] > ---> Session ended at: Sat, 15 Jan 2005 19:13:25 -0800 (consumed 07:05:59) > /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 > black-buity# > > black-buity# ruby --version > ruby 1.8.2 (2004-07-29) [i386-freebsd5] > black-buity# uname -a > FreeBSD black-buity.vampextream.com 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri > Dec 10 14:50:33 PST 2004 > root@black-buity.vampextream.com:/usr/src/sys/i386/compile/VAMPEXTREAM i386 > black-buity# > > i have read UPDATEING and didnt find any thing on 1.8 just updateing ruby > from 1.6 to 1.8 .. > so my quistions are > > 1. what would be causeing this??The 7 hours were taken up by rebuilding the INDEX. The failure will be because your portupgrade is too old. 20041113: AUTHOR: portmgr@FreeBSD.org Since INDEX version in CVS is always too old, portmgr decided to remove it. You will still be able to build your own INDEX or use 'fetchindex' target in /usr/ports/.> 2. how do i fix this?pkg_delete portupgrade-\* (cd /usr/ports/sysutils/portupgrade; make install clean)> and thanks inadvance for any help on this issue/ error message> If you play the WindowsXP CD backwards, you get a Satanic message . That's > nothing. If you play it forwards, it installs WindowsXP! > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"-- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org
On Tue, 18 Jan 2005 03:01:46 -0800, whitevamp <whitevamp@vampextream.com> wrote:> 1. what would be causeing this?? > 2. how do i fix this?I had a problem like this today on one box, and I fixed it doing it: Insert these two lines on /usr/local/etc/pkgtools.conf ENV['PKG_DBDRIVER'] ||= 'dbm_hash' ENV['PORTS_DBDRIVER'] ||= 'dbm_hash' Rebuild your pkgdb.db using `pkgdb -fu` Rebuild your INDEX.db using `portsdb -u` After I did it all worked fine! -- Renato Botelho ICQ: 54596223 AIM: RBGargaBR
On Tue, 18 Jan 2005 03:01:46 -0800, whitevamp <whitevamp@vampextream.com> wrote:> 1. what would be causeing this?? > 2. how do i fix this?Just completing my previous email, before run pkgdb -fu and portsdb -u, I recompile and reinstall ruby-bdb1 I forgot to say it... =) -- Renato Botelho ICQ: 54596223 AIM: RBGargaBR