I am trying to add a new user when first installing Ubuntu 18.04 LTS and I get this:
Enter new UNIX username: rob
groupadd: /etc/group.5: lock file already used
groupadd: cannot lock /etc/group; try again later.
adduser: `/usr/sbin/groupadd -g 1000 rob' returned error code 10. Exiting.
It is very similar to this question, however I don't think the problem is precisely the same as I get this right after download and launch. I have been doing everything as the root user and I know this is bad practice.