Restore pkgin database

By Fekete Zoltán , 25 January, 2017

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

Comments