paulororke
5th April 2008, 11:24
I can't seem to find an answer to this problem, if it's in another post that I missed I apologize.
Recently I upgraded a few apache packages on mt Debial Sarge LAMP server as per this document: http://plone.org/documentation/tutorial/install-plone-3-behind-apache-and-mod_wsgi-using-repoze/setting-up-a-clean-linux-server My intention was to install Plone behind my existing Apache2 installation. Unfortunately when doing the apt-get install apache2 part php5 was removed. I had expected to simply get a message that apache2 was already installed but it made quite a few changes.
To cut to the chase, I can't load the php5 module:
lamp:~# a2enmod php5
This module is already enabled!
lamp:~# /etc/init.d/apache2 force-reload
Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
so it seems the .so (shared object?) file was indeed removed but when I try to use apt-get to install php5:
lamp:~# apt-get install php5
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5: Depends: libapache2-mod-php5 (>= 5.2.5-0.dotdeb.2) but it is not going to be installed or
libapache-mod-php5 (>= 5.2.5-0.dotdeb.2) but it is not going to be installed or
php5-cgi (>= 5.2.5-0.dotdeb.2) but it is not going to be installed
E: Broken packages
lamp:~# apt-get install libapache2-mod-php5
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-mod-php5: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4.xs3.2.0.58 is to be installed
Depends: libkrb53 (>= 1.4.2) but 1.3.6-2sarge5 is to be installed
Depends: libssl0.9.8 (>= 0.9.8c-1) but it is not installable
Depends: libxml2 (>= 2.6.27) but 2.6.16-7 is to be installed
E: Broken packages
I've tried apt-get update and apt-get upgrade but I don't seem to ba able to resolve these dependencies.
Recently I upgraded a few apache packages on mt Debial Sarge LAMP server as per this document: http://plone.org/documentation/tutorial/install-plone-3-behind-apache-and-mod_wsgi-using-repoze/setting-up-a-clean-linux-server My intention was to install Plone behind my existing Apache2 installation. Unfortunately when doing the apt-get install apache2 part php5 was removed. I had expected to simply get a message that apache2 was already installed but it made quite a few changes.
To cut to the chase, I can't load the php5 module:
lamp:~# a2enmod php5
This module is already enabled!
lamp:~# /etc/init.d/apache2 force-reload
Forcing reload of web server: Apache2 ... failed!
You may still have some apache2 processes running. There are
processes named 'apache2' which do not match your pid file,
and in the name of safety, we've left them alone. Please review
the situation by hand.
Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
so it seems the .so (shared object?) file was indeed removed but when I try to use apt-get to install php5:
lamp:~# apt-get install php5
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5: Depends: libapache2-mod-php5 (>= 5.2.5-0.dotdeb.2) but it is not going to be installed or
libapache-mod-php5 (>= 5.2.5-0.dotdeb.2) but it is not going to be installed or
php5-cgi (>= 5.2.5-0.dotdeb.2) but it is not going to be installed
E: Broken packages
lamp:~# apt-get install libapache2-mod-php5
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libapache2-mod-php5: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge4.xs3.2.0.58 is to be installed
Depends: libkrb53 (>= 1.4.2) but 1.3.6-2sarge5 is to be installed
Depends: libssl0.9.8 (>= 0.9.8c-1) but it is not installable
Depends: libxml2 (>= 2.6.27) but 2.6.16-7 is to be installed
E: Broken packages
I've tried apt-get update and apt-get upgrade but I don't seem to ba able to resolve these dependencies.