Debian Jessie dependencies/conflicts #102
Comments
Unfortunately, I can't test and rebuild all the packages depending on php5 to make them compatible with php7.0 packages. Especially web apps. So yes, as you did, I could modify the php7.0 packages to :
Just to be sure, did you follow the scheme provided in section 7.6.2 of https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces ? Could you please provide an example? I'm not really sure to go this way, because forcing the php5 removal while providing a dependency compatibility could definitely break people's apps. The current solution is safer : it doesn't allow php7.0 installation while php7-untested packaged apps are still installed. |
I am aware, that testing each and every depending package is not within the intentions of the idea of backporting. A warning or notification should be sufficient. Currently those, who are willing to test web apps against php7 in an otherwise stable debian surrounding need to rely on manually installed packages. Forced removal of php5(-) package(s): For your concerns about breaking apps: If you have other proposals, let me know if and how I can help. |
Thanks to Jessie's latest update, PHP 5.6 (from Debian) and PHP 7.0 (from Dotdeb) are now co-installable on the same machine. This should fix this dependency issue. |
I suggest to adapt the Debian Jessie dependencies for php7.0*, to "Provides: php5" and "Replaces: php5" (and alike for -cgi, -common, -cli, -fpm).
Otherwise the installation of php7.0 may break several other packages, that are otherwise probably supposed to work with php7.0.
Of course:
php7.0 (7.0.0-1
dotdeb+8.1) conflicts with php5 (5.6.14+dfsg-0+deb8u1)dotdeb+8.1 conflicts with php5-cgi 5.6.14+dfsg-0+deb8u1)php7.0-cgi (7.0.0-1
removing php5 will lead to broken dependencies for php-auth-sasl and php-net-sieve.
removing php7.0-cgi will break dependencies for froxlor (not from debian repositories); it demands for either php5 or php5-cgi.
The same will happen with squirrelmail 2:1.4.23~svn20120406-2. (I can live with that...)
Removing php5-common will then lead to the suggestion for removal of 33 other packages in my case. Among them are:
drush 5.10.0-2 and phpmyadmin 4:4.2.12-2+deb
Thanks!
The text was updated successfully, but these errors were encountered: