[pkg-lighttpd] Bug#680130: lighttpd: Installation on Raspberry Pi fails because www-data user and group don't exist
Simon Whitaker
sw at netcetera.org
Tue Jul 3 20:55:45 UTC 2012
Package: lighttpd
Version: 1.4.28-2+squeeze1
Severity: important
When installing on a Raspberry Pi (http://www.raspberrypi.org/) running
Debian 'squeeze' (specifically the image debian6-19-04-2012.zip available at
http://www.raspberrypi.org/downloads), the command `sudo apt-get install
lighttpd` fails with the following error message:
Unpacking lighttpd (from .../lighttpd_1.4.28-2+squeeze1_armel.deb) ...
Processing triggers for man-db ...
Setting up lighttpd (1.4.28-2+squeeze1) ...
chown: invalid user: `www-data:www-data'
dpkg: error processing lighttpd (--configure):
subprocess installed post-installation script returned error exit
status 1
configured to not write apport reports
Errors were encountered while
processing:
lighttpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Running `sudo adduser --system --group www-data` and then re-running the
install command results in lighttpd being installed correctly.
I'd suggest that the www-data user/group should be set up as part of the
package installation.
-- System Information:
Debian Release: 6.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: armel (armv6l)
Kernel: Linux 3.1.9+
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lighttpd depends on:
ii libattr1 1:2.4.44-2 Extended attribute shared library
ii libbz2-1.0 1.0.5-6+squeeze1 high-quality block-sorting file co
ii libc6 2.11.3-2 Embedded GNU C Library: Shared lib
ii libfam0 2.7.0-17 Client library to control the FAM
ii libgcc1 1:4.4.5-8 GCC support library
ii libldap-2.4-2 2.4.23-7.2 OpenLDAP libraries
ii libpcre3 8.02-1.1 Perl 5 Compatible Regular Expressi
ii libssl0.9.8 0.9.8o-4squeeze7 SSL shared libraries
ii libterm-readline-perl-p 1.0303-1 Perl implementation of Readline li
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages lighttpd recommends:
ii spawn-fcgi 1.6.3-1 A fastcgi process spawner
Versions of packages lighttpd suggests:
ii apache2-utils 2.2.16-6+squeeze7 utility programs for webservers
ii openssl 0.9.8o-4squeeze12 Secure Socket Layer (SSL) binary a
pn rrdtool <none> (no description available)
-- no debconf information
More information about the pkg-lighttpd-maintainers
mailing list