Re: Portupgrade and Updating the portsdb

2011-03-09 Thread c0re
2011/2/11 ill...@gmail.com ill...@gmail.com: On 10 February 2011 08:33, c0re nr1c...@gmail.com wrote: Hello all! I've got set of servers that uses NFS mounted /usr/ports. When I use portupgrade samba on 1st server it says [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid

Re: Portupgrade and Updating the portsdb

2011-02-11 Thread ill...@gmail.com
On 10 February 2011 08:33, c0re nr1c...@gmail.com wrote: Hello all! I've got set of servers that uses NFS mounted /usr/ports. When I use portupgrade samba on 1st server it says [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb format:bdb_btree

Portupgrade and Updating the portsdb

2011-02-10 Thread c0re
Hello all! I've got set of servers that uses NFS mounted /usr/ports. When I use portupgrade samba on 1st server it says [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb format:bdb_btree in /usr/ports ... - 22601 port entries found error] Remove

Re: Portupgrade and Updating the portsdb

2011-02-10 Thread Daniel Bye
On Thu, Feb 10, 2011 at 04:33:17PM +0300, c0re wrote: Hello all! I've got set of servers that uses NFS mounted /usr/ports. When I use portupgrade samba on 1st server it says [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb format:bdb_btree in

Re: Portupgrade and Updating the portsdb

2011-02-10 Thread Eduardo
Try to move these files out of the way (all INDEX files and pkgdb.db) /usr/ports/INDEX-* /var/db/pkg/pkgdb.db and run (it will take a while) portsdb -Uu as another option you can remove the files above and reinstall ruby and ruby-bdb on those servers. Are you running on version 7 or 8 ? are