[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Algorithm for selecting between packages providing the same phpapi-20100525, change between squeeze -> wheezy



Hi,

I am just curious about the selection mechanism in apt(itude),
something has changed between squeeze and wheezy.

When I was noticed by a user that libapache2-mod-php5filter is
installed by default when phpapi-20100525 (f.e. try installing
php5-mysql in squeeze and wheezy).

squeeze:
# apt-get install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libcap2 libexpat1 libgcrypt11 libgnutls26
  libgpg-error0 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3
libkrb5support0 libldap-2.4-2 libmysqlclient16 libonig2 libqdbm14
libsasl2-2 libtasn1-3 mime-support mysql-common php5-common
  procps ucf

wheezy:
# apt-get install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-prefork apache2-utils apache2.2-bin apache2.2-common
libapache2-mod-php5filter libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap libcap2 libexpat1 libgcrypt11
  libgnutls26 libgpg-error0 libgssapi-krb5-2 libk5crypto3 libkeyutils1
libkrb5-3 libkrb5support0 libldap-2.4-2 libmagic1 libmysqlclient18
libonig2 libp11-kit0 libpcre3 libprocps0 libqdbm14
  libsasl2-2 libssl1.0.0 libtasn1-3 libxml2 mime-support mysql-common
php5-common procps psmisc

It seems that apt is ignoring Priority: (php5filter is extra)

The solution would be to pick one default SAPI and do php5-SAPI |
phpapi-20100525, but that would be hard to push into all r-depending
PHP modules.

Ondrej
--
Ondřej Surý <ondrej@sury.org>


Reply to: