[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2 install problems



Try to apt-get install apache2-mpm-prefork instead of apache2.
apache2 is a virtual package to another package but there is a conflict
between apache2-mpm-prefork and apace2-mpm-worker and
apache2-mpm-perchild - you should choose one of these.


Marcos.

On Thu, 2004-09-30 at 05:04, Urs Thuermann wrote:
> I tried to install apache2 on a debian testing system.  However, I get
> the following error:
> 
>     # apt-get install apache2
>     Reading Package Lists... Done
>     Building Dependency Tree... Done
>     The following extra packages will be installed:
>       apache2-common apache2-mpm-worker
>     Suggested packages:
>       apache2-doc lynx www-browser
>     The following NEW packages will be installed:
>       apache2 apache2-common apache2-mpm-worker
>     0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
>     Need to get 0B/1084kB of archives.
>     After unpacking 2613kB of additional disk space will be used.
>     Do you want to continue? [Y/n] y
>     Selecting previously deselected package apache2-common.
>     (Reading database ... 17566 files and directories currently installed.)
>     Unpacking apache2-common (from .../apache2-common_2.0.51-2_i386.deb) ...
>     Selecting previously deselected package apache2-mpm-worker.
>     Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.0.51-2_i386.deb) ...
>     Selecting previously deselected package apache2.
>     Unpacking apache2 (from .../apache2_2.0.51-2_i386.deb) ...
>     Setting up apache2-common (2.0.51-2) ...
>     Setting Apache2 to Listen on port 80. If this is not desired, please edit /etc/apache2/ports.conf as desired. Note that the Port directive no longer works.
>     dpkg: error processing apache2-common (--configure):
>      subprocess post-installation script returned error exit status 1
>     dpkg: dependency problems prevent configuration of apache2-mpm-worker:
>      apache2-mpm-worker depends on apache2-common (= 2.0.51-2); however:
>       Package apache2-common is not configured yet.
>     dpkg: error processing apache2-mpm-worker (--configure):
>      dependency problems - leaving unconfigured
>     dpkg: dependency problems prevent configuration of apache2:
>      apache2 depends on apache2-mpm-worker (= 2.0.51-2) | apache2-mpm-prefork (= 2.0.51-2) | apache2-mpm-perchild (= 2.0.51-2);
>     however:
>       Package apache2-mpm-worker is not configured yet.
>       Package apache2-mpm-prefork is not installed.
>       Package apache2-mpm-perchild is not installed.
>     dpkg: error processing apache2 (--configure):
>      dependency problems - leaving unconfigured
>     Errors were encountered while processing:
>      apache2-common
>      apache2-mpm-worker
>      apache2
>     E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> How can I fix this problem?  Or are there other, maybe older apache2
> packages that install cleanly?
> 
> 
> urs
> 



Reply to: