[FUG-BR] Portupgrade (problemas)
Welkson Renny de Medeiros
welkson em focusautomacao.com.br
Terça Fevereiro 13 19:06:42 BRST 2007
Oi galera,
Estou instalando o TRAC (www/trac) e estou tendo alguns problemas... no
fórum do trac recomendaram reinstalar o python via portupgrade... e estou
tendo problemas com o portsdb.
Já fiz os procedimentos sugeridos nessa thread, mas o erro persiste:
http://www.fug.com.br/historico/html/freebsd/2007-02/msg00011.html
Vejam o erro:
[root em netserver:/usr/ports/sysutils/portupgrade] # portupgrade -f
lang/python24
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 246 packages
found (-1 +1) (...). done]
[missing key: categories] [Updating the portsdb <format:bdb_btree> in
/usr/ports ... - 16526 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!
database file error
[missing key: categories] [Updating the portsdb <format:bdb_btree> in
/usr/ports ... - 16526 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
Em um momento de loucura apaguei os /usr/ports/INDEX*, depois rodei
portsdb -fu, tentei novamente o portupgrade e não resolveu... já desinstalei
portupgrade instalei novamente... e também não funfa...
Sugestões?
Abraço,
--
Welkson Renny de Medeiros
Focus Automação Comercial
Desenvolvimento / Gerência de Redes
welkson em focusautomacao.com.br
Mais detalhes sobre a lista de discussão freebsd