Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2007 11:09:31 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Drew Sanford <lauasanf@wilderness.homeip.net>
Cc:        questions@freebsd.org
Subject:   Re: portupgrade failing, portsdb error
Message-ID:  <44ejmbjff8.fsf@be-well.ilk.org>
In-Reply-To: <4628E19E.405@wilderness.homeip.net> (Drew Sanford's message of "Fri\, 20 Apr 2007 10\:51\:58 -0500")
References:  <4628E19E.405@wilderness.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Drew Sanford <lauasanf@wilderness.homeip.net> writes:

> I get the following error:
>
> root@drew(/usr/ports)# portupgrade gnome-vfs
> [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 16885
> port entries found
> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ ..... done]
> [missing key: categories] [Updating the portsdb <format:bdb_btree> in
> /usr/ports ... - 16885 port entries found
> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ ..... done]
> missing key: categories: Cannot read the portsdb!
> /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db':
> database file error (PortsDB::DBError)
>        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
>        from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in
> all_depends_list'
>        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
>        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
>        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
>        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
>        from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
>        from /usr/local/sbin/portupgrade:721:in `main'
>        from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
>        from /usr/local/sbin/portupgrade:220:in `new'
>        from /usr/local/sbin/portupgrade:220:in `main'
>        from /usr/local/sbin/portupgrade:2084
>
> I've got Index up to date, I've run portsdb -u, and it seems to think
> everything is good. Any recommendations? I've not seen this error
> before. Thanks in advance.

"portsdb -F"?



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