[ Added debian-apa...@lists.debian.org to the Cc, see the "should be discouraged in the Packaging Guidelines" below. Please Cc me on replies. ]
On Sun, Mar 25, 2012 at 11:43:00PM +0200, Olaf van der Spek wrote: > On Sun, Mar 25, 2012 at 11:36 PM, Adrian Bunk <b...@stusta.de> wrote: > > the string "php5-fpm" is nowhere in the apt-get log. > > php5-fpm is installed and is enough to run php apps. > So it should be enough to run phpbb3, but it isn't. "libapache2-mod-php5 | php5-cgi | php5" lists it indirectly, since the php5 meta package dependencies expand to "libapache2-mod-php5 (>= 5.4.0-2) | libapache2-mod-php5filter (>= 5.4.0-2) | php5-cgi (>= 5.4.0-2) | php5-fpm". As already explained, it is hard for a package manager to guess what you want unless it is explicitely specified. Let's tell apt what you want: <-- snip --> # dpkg -l | grep apache ii libapache-pom-java 10-2 Maven metadata for all Apache Software projects # apt-get install lighttpd php5-fpm php5 phpbb3 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dbconfig-common libdbd-mysql-perl libdbi-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl mysql-client mysql-client-5.1 mysql-common php5-gd php5-mysql Suggested packages: rrdtool apache2-utils php-pear phpbb3-l10n mysql-server postgresql Recommended packages: spawn-fcgi php5-imagick The following NEW packages will be installed: dbconfig-common libdbd-mysql-perl libdbi-perl libmysqlclient16 libnet-daemon-perl libplrpc-perl lighttpd mysql-client mysql-client-5.1 mysql-common php5 php5-fpm php5-gd php5-mysql phpbb3 0 upgraded, 15 newly installed, 0 to remove and 150 not upgraded. Need to get 0 B/19.2 MB of archives. After this operation, 54.0 MB of additional disk space will be used. Do you want to continue [Y/n]? <-- snip --> Does that install anything that is not required, or can that bug be closed? "libapache2-mod-php5 | php5-cgi | php5" could arguably be reduced to just a dependency on php5, but this is a pattern common enough that it should be discouraged in the Packaging Guidelines unless there's a good reason for it. Note that this change would still not make package managers read your mind, just make you specify one package less to apt. > > So having libapache2-mod-php5 as first alternative in the dependencies > > is exactly correct. > > It matches the guidelines, but maybe the guidelines aren't as good as > they should be. ;) Personally I don't think your suggestion makes sense, but the guidelines are currently being discussed, so discuss it there and not in bugs for random packages... > Olaf cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org