portsnapをインストール


root以外のユーザーで実行するとエラーになる。

www# portinstall portsnap
The pkgdb must be updated. Please run 'pkgdb -u' as root.


suの後に実行すると下記のようなエラーになる。

www# su
Password:
www# portinstall portsnap
[Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb in /var/db/pkg ... [/usr/ports/INDEX-5.db: unexpected file type or format -- Invalid argument] [Updating the portsdb in /usr/ports ... - 17594 port entries found /usr/ports/INDEX-5.db: unexpected file type or format -- Invalid argument: Cannot update the portsdb! (/usr/ports/INDEX-5.db)]
database file error

No such installed package or port: portsnap


取りあえず、portsnapは保留