On Tue, Dec 07, 2010 at 04:10:28PM -0200, Daniel wrote: > Quando rodo > > #portupgrade libxml ele retorna pra mim #/var/db/pkg/pkgdb.db: > unexpected file type or format -- Invalid argument
Parece-me que você está com versões antigas por aí... Se me lembro, você pode # mv /var/db/pkg/pkgdb.db /var/db/pkg/pkgdb.db.old # portsnap fetch update ou # portsnap fetch extract (se nunca usou o portsnap) Aí é rodar o portupgrade. Mas antes de tudo, veja os pacotes que tem instalado e confira o /usr/ports/UPDATING. Recentemente, por exemplo, é preciso fazer o upgrade dos pacotes devel/autoconf-wrapper e devel/automake-wrapper: 20101204: AFFECTS: autotools AUTHOR: autoto...@freebsd.org The next stage in the ongoing cleanup of autotools-using ports is a refactoring of bsd.autotools.mk so that version numbers are no longer needed within the USE_AUTOTOOLS stanza. There is either autoconf213/autoconf or automake14/automake (for the legacy versions, and the currently available versions). This will considerably reduce the amount of tree-wide patching in future on an update. IMPORTANT: if you have either devel/autoconf-wrapper or devel/automake-wrapper installed on your system (and you most likely do) PLEASE update these ports to their new versions before updating anything else -- Bad Things[tm] are likely to happen otherwise. -- Ricardo Campos Passanezi ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd