View Single Post
Posts: 268 | Thanked: 1,053 times | Joined on May 2010 @ The Netherlands
#245
Originally Posted by deed View Post
Hi,
Got a problem with creating user and group, at least, the postinstall script from the icecast2 deb had!
Can't install this app and busybox power report a prob in user and group creation, any ideas?
Thanks for reporting.

The line that causes this error in the postinst script is:
Code:
    adduser --system --disabled-password --disabled-login \
	--home /usr/share/icecast2 --no-create-home --group icecast
However, Maemo isn't shipped with adduser at all! Busybox-power does provide an adduser applet, but it takes different arguments than the postinst tries to use.

The solution is rather simple though. Execute:
Code:
apt-get install adduser
and icecast2 will install flawlessly . The postrm script also uses utilities from the adduser package (namely: deluser and groupdel), so you shouldn't uninstall the package right after installing icecast2. It seems like the package maintainer simply forgot to add a dependency on adduser to icecast2.