lnxbachman{root}78 apt-get remove php
Reading package lists... Done
Building dependency tree... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
php5: Depends: libapache2-mod-php5 (>= 5.2.0-8+etch10) but it is not going to be installed or
libapache-mod-php5 (>= 5.2.0-8+etch10) but it is not going to be installed or
php5-cgi (>= 5.2.0-8+etch10) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
lnxbachman{root}79 apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies...Done
The following extra packages will be installed:
libapache2-mod-php5
The following NEW packages will be installed
libapache2-mod-php5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/2413kB of archives.
After unpacking 5476kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 119968 files and directories currently installed.)
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.0-8+etch10_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libapache2-mod-php5_5.2.0-8+etch10_i386.deb (--unpack):
trying to overwrite `/usr/lib/apache2/modules/libphp5.so', which is also in package php
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libapache2-mod-php5_5.2.0-8+etch10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)