When I issue 'pkg version -R' it does not actually use the remote repository for comparison; instead it uses the local cache of the remote repository, i.e. it checks local.sqlite against repo.sqlite. That's fine, but should it not do a 'pkg update' first?