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.........18
000..... ..... 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.........18
000..... ..... 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: BError)
> 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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-curre
nt
> To unsubscribe, send any mail to
"freebsd-current-unsubscribe freebsd.org"
_______________________________________________
freebsd-questions freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe freebsd.org"
|