[php-maint] Bug#397776: too strict dependencies on php5-cgi, implying apache installation on dist-upgrade

Simon Paillard simon.paillard at resel.enst-bretagne.fr
Thu Nov 9 13:07:28 CET 2006


Package: php5
Version: 5.2.0-2
Severity: normal

Hello,

The php5 package (5.2.0-2) has too strong dependencies :
Depends: libapache2-mod-php5 (>= 5.2.0-2) | libapache-mod-php5 (>=5.2.0-2) |
php5-cgi (>= 5.2.0-2), php5-common (>= 5.2.0-2)

As I don't use apache, but lighttpd, so php5-cgi is installed and there is no
libapache package installed.

So today, since my version of php5-cgi before upgrade is 5.2.0-1, it doesn't
fill the dependency :

apt-get dist-upgrade =>
The following NEW packages will be installed:
  apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
The following packages will be upgraded:
  php5 php5-cgi php5-common php5-gd

aptitude dist-upgrade is ok, so maybe it's an apt bug and not a problem of
dependencies ?
 
I could remove the php5 meta-package, but many packages use it because it's
easier (see apt-cache rdepends php5).

Regards

-- 
Simon Paillard

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)

Versions of packages php5 depends on:
ii  php5-cgi                      5.2.0-1    server-side, HTML-embedded scripti
ii  php5-common                   5.2.0-1    Common files for packages built fr

php5 recommends no packages.

-- no debconf information




More information about the pkg-php-maint mailing list