pkgdb -F again

Hans Lambermont hans at lambermont.dyndns.org
Tue Jul 6 06:58:23 PDT 2004


Peter Ulrich Kruppa wrote:

> On Tue, 6 Jul 2004, Hans Lambermont wrote:
>> # pkgdb -F
>> --->  Checking the package registry database
>> [Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 329 packages 
>> found (-3 +3) (...)... done]
>> Stale dependency: linux-expat-1.95.5_1 -> linux_base-7.1_7 
>> (emulators/linux_base):
>> [Failed `Inappropriate file type or format'] [Updating the portsdb
>> <format:bdb1_btree> in /usr/ports ... - 11185 port entries found 
>> .........1000.........2000.........3000.........4000......../usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:587:
>> [BUG] Segmentation fault
>> ruby 1.8.1 (2004-05-02) [i386-freebsd5]
>> Abort (core dumped)
...
>> This is on 5.1-C as of may 30, with ruby-1.8.1.2004.05.02
>> ruby18-bdb1-0.2.2 and portupgrade-20040701_1.

> There were problems with ruby and protupgrade some months ago.

I know, I've ran into some ;-)

> This is from /usr/ports/UPDATING
> 20040226:
>   AFFECTS: i386 users of ruby and portupgrade
...
>   1) Reinstall portupgrade manually (and as a result ruby 1.8 
...

I already removed all of ruby and portupgrade :

>> I removed ruby ruby18-bdb and portupgrade, and reinstalled, but that
>> did not help.

I just ran a 'portsdb -U' which fixed it.

-- Hans


More information about the freebsd-ports mailing list