kpholmes
October 10th, 2009, 09:22 AM
im having trouble installing apache. its driving me insane.
[majorelle-blue /var] aptitude install apache2 apache2-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
apache2-mpm-prefork libapache2-mod-php5
The following partially installed packages will be configured:
apache2 php5 phpmyadmin
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
libapache2-mod-php5: Depends: apache2.2-common but it is not installable
apache2-mpm-prefork: Depends: apache2.2-common (= 2.2.9-10+lenny4) but it is not installable
The following actions will resolve these dependencies:
Install the following packages:
apache2.2-common [2.2.9-10+lenny4 (stable, stable)]
Score is 41
Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
apache2.2-common{a}
The following partially installed packages will be configured:
apache2 apache2-mpm-prefork libapache2-mod-php5 php5 phpmyadmin
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/814kB of archives. After unpacking 3518kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 36411 files and directories currently installed.)
Unpacking apache2.2-common (from .../apache2.2-common_2.2.9-10+lenny4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2.2-common_2.2.9-10+lenny4_amd64.deb (--unpack):
trying to overwrite `/var/www', which is also in package munin
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/apache2.2-common_2.2.9-10+lenny4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.9-10+lenny4); however:
Package apache2.2-common is not installed.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (>= 2.2.9-10+lenny4) | apache2-mpm-prefork (>= 2.2.9-10+lenny4) | apache2-mpm-event (>= 2.2.9-10+lenny4); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-event is not installed.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not installed.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.2.6.dfsg.1-1+lenny3) | libapache2-mod-php5filter (>= 5.2.6.dfsg.1-1+lenny3) | php5-cgi (>= 5.2.6.dfsg.1-1+lenny3); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapache2-mod-php5 | libapache-mod-php5 | php5-cgi | php5 | libapache2-mod-php4 | libapache-mod-php4 | php4 | php4-cgi; however:
Package libapache2-mod-php5 is not configured yet.
Package libapache-mod-php5 is not installed.
Package php5-cgi is not installed.
Package php5 is not configured yet.
Package libapache2-mod-php4 is not installed.
Package libapache-mod-php4 is not installed.
Package php4 is not installed.
Package php4-cgi is not installed.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2-mpm-prefork
apache2
libapache2-mod-php5
php5
phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
right in the area i highlighted is a bunch of errors.
i dont understand what its trying to tell me
[majorelle-blue /var] aptitude install apache2 apache2-doc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
apache2-mpm-prefork libapache2-mod-php5
The following partially installed packages will be configured:
apache2 php5 phpmyadmin
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
libapache2-mod-php5: Depends: apache2.2-common but it is not installable
apache2-mpm-prefork: Depends: apache2.2-common (= 2.2.9-10+lenny4) but it is not installable
The following actions will resolve these dependencies:
Install the following packages:
apache2.2-common [2.2.9-10+lenny4 (stable, stable)]
Score is 41
Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
apache2.2-common{a}
The following partially installed packages will be configured:
apache2 apache2-mpm-prefork libapache2-mod-php5 php5 phpmyadmin
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/814kB of archives. After unpacking 3518kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 36411 files and directories currently installed.)
Unpacking apache2.2-common (from .../apache2.2-common_2.2.9-10+lenny4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/apache2.2-common_2.2.9-10+lenny4_amd64.deb (--unpack):
trying to overwrite `/var/www', which is also in package munin
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/apache2.2-common_2.2.9-10+lenny4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of apache2-mpm-prefork:
apache2-mpm-prefork depends on apache2.2-common (= 2.2.9-10+lenny4); however:
Package apache2.2-common is not installed.
dpkg: error processing apache2-mpm-prefork (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apache2:
apache2 depends on apache2-mpm-worker (>= 2.2.9-10+lenny4) | apache2-mpm-prefork (>= 2.2.9-10+lenny4) | apache2-mpm-event (>= 2.2.9-10+lenny4); however:
Package apache2-mpm-worker is not installed.
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-event is not installed.
dpkg: error processing apache2 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libapache2-mod-php5:
libapache2-mod-php5 depends on apache2-mpm-prefork (>> 2.0.52) | apache2-mpm-itk; however:
Package apache2-mpm-prefork is not configured yet.
Package apache2-mpm-itk is not installed.
libapache2-mod-php5 depends on apache2.2-common; however:
Package apache2.2-common is not installed.
dpkg: error processing libapache2-mod-php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of php5:
php5 depends on libapache2-mod-php5 (>= 5.2.6.dfsg.1-1+lenny3) | libapache2-mod-php5filter (>= 5.2.6.dfsg.1-1+lenny3) | php5-cgi (>= 5.2.6.dfsg.1-1+lenny3); however:
Package libapache2-mod-php5 is not configured yet.
Package libapache2-mod-php5filter is not installed.
Package php5-cgi is not installed.
dpkg: error processing php5 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of phpmyadmin:
phpmyadmin depends on libapache2-mod-php5 | libapache-mod-php5 | php5-cgi | php5 | libapache2-mod-php4 | libapache-mod-php4 | php4 | php4-cgi; however:
Package libapache2-mod-php5 is not configured yet.
Package libapache-mod-php5 is not installed.
Package php5-cgi is not installed.
Package php5 is not configured yet.
Package libapache2-mod-php4 is not installed.
Package libapache-mod-php4 is not installed.
Package php4 is not installed.
Package php4-cgi is not installed.
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache2-mpm-prefork
apache2
libapache2-mod-php5
php5
phpmyadmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
right in the area i highlighted is a bunch of errors.
i dont understand what its trying to tell me