Refreshing pkg.depotd After Package Upload

Posted on

After uploading a package to an OmniOS package repository I was unable to find the package by searching. The package could be installed and local searching would find it, but the depotd server didn't know how to find the package when searching. Restarting pkg/server would work around the issue but having to do that after each publish would get annoying.

There is a command pkgrepo that will refresh the search index remotely!


pkgrepo refresh -s PKGSRVR

is enough to reload the search index.

Comment or reply by webmention.