If you're trying to searching or installing packages via pkg the your repository data might be broken. If pkg update shows that your repositories are up to date try:
pkg update -f
Afterwards you should be able to search and install packages again.
Posted by Claus-Theodor Riegg to makandra dev (2016-05-17 13:45)