I added a new pkg repository in addition to FreeBSD default one. This repo contains some packages with different options than FreeBSD default ones, for instance llvm37. If I uninstall the llvm37 package, the actual dot pkg file may still exist in /var/cache/pkg, which will cause `pkg install llvm37' to fail the next time I try to install it if my repo has a higher priority: it fails with a size mismatch from cache error. Shouldn't cache dir be different by repo to prevent these name clashes?
Reassign to pkg@.
the cached files contains the hash in the name, so no collision possible