On Debian, the adduser command doesn't error out if the user already
exists, apparently this is different here.
As a workaround you can comment out the line in
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
package ejabberd (not installed) failed to install/upgrade: subprocess
installed post-installation script returned error exit status 1
To manage notifications about this bug go to:
ubuntu-bugs mailing list