Deleted username but can not use that username in other user

Do you have a group with this name? @Canapin is correct that users and groups share a namespace.