problem s nmapem

Jan Dusatko jan at dusatko.org
Fri Jul 11 09:55:13 CEST 2008


To vypada na oblibeny problem po upgrade na novejsi verzi portupgrade, nebo
freebsd 7.

1. pkg_info | grep ruby

2. odstranit všechny ruby

3. cvsup

4. manualne nainstalovat dotycne ruby package

5. provest portupgrade

Honza

> to jsem zkousel, ale dopadnul jsem takhle
> 
>  portupgrade -vR nmap
> cd: can't cd to /usr/ports/sysutils/portupgrade
> --->  Session started at: Fri, 11 Jul 2008 08:54:54 +0200
> [missing key: categories] [Updating the portsdb <format:bdb_btree> in
> /usr/ports ... - 18766 port entries found
> .........1000.........2000.........3000.........4000.........5000......
> ...6000.........7000.........8000.........9000.........10000.........11
> 000.........12000.........13000.........14000.........15000.........160
> 00.........17000.........18000.......
> ..... done]
> missing key: categories: Cannot read the portsdb!
> --->  Session ended at: Fri, 11 Jul 2008 08:55:05 +0200 (consumed
> ---> 00:00:11)
> /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
> 
> 
> zkousim ted znova fetchnout porttree, stahnout index a updatnout
> portsdb -u




More information about the Users-l mailing list