Re: Problem with apache installation..!
what are you using? sarge? woody? unstable? and apt source? backports
etc?
Apache and apache2 are two different packages. Apache2 is version 2 of
apache server and is different in configuration/setup etc.
Someone correct me if i'm wrong, looks like you've been trying to
install different packages and system is confused now. Remove the
packages you've installed using apt-get remove, for both apache and
apache2 and then try to install apache only.
HTH
On Mon, 2004-08-23 at 23:37, Nayyar Ahmed wrote:
> Hello All,
> when i am tring to install apache i give me errors of dependency...!
> the following are the screan output when i try to install, first when
> i query dpkg, it gives.
>
>
> debian:/home/neenix# dpkg -l | grep apache
> ii apache 1.3.31-3 Versatile, high-performance HTTP server
> ii apache-common 1.3.31-3 Support files for all Apache webservers
> ii apache-utils 1.3.31-3 Utility programs for webservers
> pF apache2-common 2.0.49-1 Next generation, scalable, extendable web se
> pU apache2-mpm-pr 2.0.49-1 Traditional model for Apache2
> ii libapache2-mod 4.3.4-4 A server-side, HTML-embedded scripting langu
>
>
> but when i want to install apache through apt-get
>
>
> debian:/home/neenix# apt-get install apache
> Reading Package Lists... Done
> Building Dependency Tree... Done
> apache is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apache2-common (2.0.49-1) ...
> /var/lib/dpkg/info/apache2-common.postinst: line 18:
> /etc/apache2/ports.conf: No such file or directory
> dpkg: error processing apache2-common (--configure):
> subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
> apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
> Package apache2-common is not configured yet.
> dpkg: error processing apache2-mpm-prefork (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> apache2-common
> apache2-mpm-prefork
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> i cant understant it bcoz when i try to install apache2-common or
> apache2-mpm-prefork it give me again error , i.e
>
>
>
> debian:/home/neenix# apt-get install apache2-common apache2-mpm-prefork
> Reading Package Lists... Done
> Building Dependency Tree... Done
> apache2-common is already the newest version.
> apache2-mpm-prefork is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
> 2 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up apache2-common (2.0.49-1) ...
> /var/lib/dpkg/info/apache2-common.postinst: line 18:
> /etc/apache2/ports.conf: No such file or directory
> dpkg: error processing apache2-common (--configure):
> subprocess post-installation script returned error exit status 1
> dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
> apache2-mpm-prefork depends on apache2-common (= 2.0.49-1); however:
> Package apache2-common is not configured yet.
> dpkg: error processing apache2-mpm-prefork (--configure):
> dependency problems - leaving unconfigured
> Errors were encountered while processing:
> apache2-common
> apache2-mpm-prefork
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
>
> if some body could solve this problem, thanks
>
>
>
> --
> Nayyar Ahmad
>
> Lecturer
> Faculty Of Computer Science,
> Institute Of Management Sciences,
> Hayat Abad Peshawar , Pakistan.
> Office : 92-091-9217404 , 9217452
> Cell : 92-0333-9139461
>
Reply to: