Currently I'm having the same behaviour like the bug #212605. It occured while installing the sysutils/rundeck port. It blocks the installation. [26/26] Installing rundeck-2.11.8... ===> Creating groups. Creating group 'rundeck' with gid '819'. ===> Creating users Creating user 'rundeck' with uid '819'. pw: user 'rundeck' disappeared during update install: unknown user rundeck pkg: PRE-INSTALL script failed If I tried to create the user with the command as the port, the error is the same. # /usr/sbin/pw useradd rundeck -u 819 -g 819 -c "Rundeck" -d /usr/local/rundeck -s /bin/sh pw: user 'rundeck' disappeared during update Did you need any additional information?
This is also happening to me. I've tried several usernames ('ranvel', for example).
I don't know if this will help with your issue, but it fixed mine... I was able to run this: `pwd_mkdb -p /etc/master.passwd` Which updated the password database and then I was able to properly remove and then re-add the user.
Is this bug still relevant? It looks like not a problem with the port according to bug #212605.
I'm getting this on two Vultr VPSs which I upgraded from 12.1-RELEASE to 12.2-RELEASE. Not seeing it on a fresh 12.2-RELEASE install.
Running this once seems to resolve the issue and new accounts show up just fine. pwd_mkdb -p /etc/master.passwd
I think that bug #232921 is more relevant to my issue, I will mention it there.
I missed this one prior to the commit, but this is fixed in base r368713. Upon reflection, closing this as a duplicate of PR 232921 so that I only need to remember to update the metadata in one. *** This bug has been marked as a duplicate of bug 232921 ***