A few days ago I set up a public machine and gave a few users the ability to install packages globally with sudo.
The pkgin database gets corrupted and needs to be refetched whenever multiple users are installing packages at the same time, so there should probably be a global lock to stop this from happening.