Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2004 10:52:04 +0200
From:      hans@lambermont.dyndns.org (Hans Lambermont)
To:        freebsd-ports@freebsd.org
Subject:   Re: portupgrade barfs [was: portdb -Uu fails]
Message-ID:  <20040623085204.GB4654@moya.lambermont.dyndns.org>
In-Reply-To: <20040622225157.7d2becf2@it.buh.cameradicommercio.ro>
References:  <20040621152054.GA51551@moya.lambermont.dyndns.org> <20040622112500.6521cd5f@it.buh.cameradicommercio.ro> <20040622113649.GA78304@moya.lambermont.dyndns.org> <20040622144703.6db88a6e@it.buh.cameradicommercio.ro> <20040622130541.GA79008@moya.lambermont.dyndns.org> <20040622162612.50b22931@it.buh.cameradicommercio.ro> <20040622190124.GC54940@moya.lambermont.dyndns.org> <20040622225157.7d2becf2@it.buh.cameradicommercio.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
Ion-Mihai Tetcu wrote:

> Hans Lambermont wrote:
>> --->  Session started at: Tue, 22 Jun 2004 20:53:06 +0200
>> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 325 packages found (-1 +1) (...). done]
>> --->  Session ended at: Tue, 22 Jun 2004 20:53:14 +0200 (consumed 00:00:07)
>> /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
>> 
>> re-cvsupping, cd /usr/ports/sysutils/portupgrade && make deinstall &&
>> make install don't help.
> 
> Probably a ruby bug. Rebuilding {pkg|ports}.db from scratch will do, I think.

Confirmed, portsdb -fu fixed it. portupgrade now works.

Thanks.

-- Hans



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