Re: apache_1.1.3-6 preinstall script giving errors
Douglas Bates wrote:
> The problem is that because the pre-install script doesn't finish
> successfully, the scripts aren't copied into /var/lib/dpkg/info. I
> have to extract them with ar and tar.
>
> I did so and ran the preinst script by hand as
> /bin/sh -v preinst install
> It stopped after
>
> wwwdata="`2>/dev/null grep '^www-data:' /etc/passwd`"
> 2>/dev/null grep '^www-data:' /etc/passwd
> arcola# echo $?
> 1
>
> Currently there is no www-data login in /etc/passwd.
>
> Johnie - do you have any ideas?
I looked in my /etc/passwd file and found that Debian included:
www-data:*:33:33:www-data:/var/www:/bin/sh
Of course you might edit the line to concure with your system
--
0 0 L & R Associates
" Home Page: http://www.netaxs.com/~ldc/
_______ooO ~ Ooo_______________________________________________
LeRoy D. Cressy /\_/\ ldc@netaxs.com
Computer Consulting ( o.o ) Phone (215) 535-4037
> ^ < Fax (215) 535-4285
--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: