On Fri, 1 Aug 2008 11:24:51 +0100 Jonathan McDowell noodles@earth.li allegedly wrote:
How are you actually installing it? php5 will by default want to pull in libapache2-mod-php5 though php5-cgi should meet the dependency instead if necessary.
"aptitude install php5" wants to pull in Apache here (Debian/sid) but "aptitude install php5 php5-cgi" only wants to install php5, php5-cgi and php5-common.
J.
Hmm. That's interesting. I'd never known there would be a difference in behaviour between "aptitude install" and "apt-get install". But after your email I tried it and got the following:
aptitude install php5 php5-cgi
gives:
The following NEW packages will be installed: php5 php5-cgi php5-common{a} The following packages will be REMOVED: python2.4{u} python2.4-minimal{u} 0 packages upgraded, 3 newly installed, 2 to remove and 0 not upgraded. Need to get 5271kB of archives. After unpacking 1679kB will be freed.
whilst apt-get install php5 php5-cgi
gives:
The following extra packages will be installed: apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libexpat1 libmysqlclient15off libpq5 mysql-common php5-common Suggested packages: apache2-doc apache2-suexec apache2-suexec-custom php-pear php5-timezonedb The following NEW packages will be installed apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libexpat1 libmysqlclient15off libpq5 mysql-common php5 php5-cgi php5-common 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 11.5MB of archives.
Now I actually want to keep python installed so the aptitude install option is not helpful either. :-)
Mick ---------------------------------------------------------------------
The text file for RFC 854 contains exactly 854 lines. Do you think there is any cosmic significance in this?
Douglas E Comer - Internetworking with TCP/IP Volume 1
http://www.ietf.org/rfc/rfc854.txt ---------------------------------------------------------------------