Ports Update: Failed to Generate INDEX

Ron Tarrant rtarrant at sympatico.ca
Thu Sep 7 11:06:22 PDT 2006

Ron Tarrant wrote:
> Updating the ports index ... Generating INDEX.tmp - please wait .. Done
> done
> [Updating the portsdb <format:bdb_btree> in /usr/ports ... - 15661 
> port entries
> found portsdb: /usr/ports/INDEX-6.db: unexpected file type or format 
> -- Invalid argument: Cannot update the portsdb! (/usr/ports/INDEX-6.db)]
Problem solved.

pkgdb was complaining about the format of the /var/db/pkg/pkgdb.db file, 
so I renamed it pkgdb.db.old, re-ran pkgdb and it completed successfully.

Thanks to all who responded.

-Ron T.

More information about the freebsd-ports mailing list