# pkg upgrade
===> Creating groups.
Using existing group 'polkitd'.
===> Creating users
Creating user 'polkitd' with uid '565'.

pw: uid `565' has already been allocated
pkg: PRE-INSTALL script failed

# rmuser polkitd
rmuser: user (polkitd) does not exist in the password database.

# rmuser 565
Matching password entry:

lkitd:*:565:565::0:0:Polkit Daemon User:/var/empty:/usr/sbin/nologin

Is this the entry you wish to remove? y
Remove user's home directory (/var/empty)? n
Removing user (565): passwd.

# pkg upgrade