Re: portupgrade errors

From: Jille <jille_at_quis.cx>
Date: Mon, 26 May 2008 14:54:21 +0200
Try:

# portsdb -fu

Or updating your portstree (portsnap fetch update)

-- Jille

gahn schreef:
> Hi all:
> 
> trying to upgrade the ports and got errors:
> 
> ///////////////////////////
> 
> beichuan# portupgrade -a
> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... - 382 packages found (-0 +382) .............................................................................................................................................................................................................................................................................................................................................................................................. done]
> [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 18529 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000..... ..... done]
> [missing key: categories] [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 18529 port entries found .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000.........17000.........18000..... ..... done]
> missing key: categories: Cannot read the portsdb!
> /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:567:in `open_db': database file error (PortsDB::DBError)
>         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:736:in `port'
>         from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:924:in `all_depends_list'
>         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:694:in `main'
>         from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
>         from /usr/local/sbin/portupgrade:210:in `new'
>         from /usr/local/sbin/portupgrade:210:in `main'
>         from /usr/local/sbin/portupgrade:1981
> 
> ///////////////////////////////////
> 
> were the errors from my side or from the portal side?
> 
> Thanks
> 
> 
>       
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Mon May 26 2008 - 11:13:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:31 UTC