Error while creating user for frappe

This seems similar to this post…

You seem to have a mix of yum(CentOS) and apt(debian/ubuntu). Which OS are you using?