Restore pkgin database

Submitted by Fekete Zoltán on

Sometimes it happens that the pkgin tool gets behave odd. It does not install any new package, and does not know about installed packages at all. Here is how to solve.

# cd /var/db/pkgin/

# mv pkgin pkgin.old

# pkgin update

# pkgin list | more 

The last command should list all formerly installed packages.

Tags