I appreciate the work on this. And I do understand that the upgrade
might not be possible. Perhaps a message during install then.."the
following PHP5 packages will not be upgraded to PHP7: <list here>. If
you required these packages then install via apt after upgrading"...or
something along those lines. Thanks again.
James
On 2016-09-06 14:05, Nish Aravamudan wrote:
> Hello and thank you for filing this report!
>
> I am aware of the issue you referenced, but it's not necessarily an
> easy
> one to solve. The packages from 14.04 (php5 related) are replaced by
> those in 16.04 (php7.0 related), but e.g., the configuration files
> can't
> necessarily migrate -- so it's not a proper replacement, if that makes
> sense. Additionally, some packages simply don't exist any longer.
>
> I believe similar cases have existed in the past, with major version
> bumps. I will definitely consider ways to make the upgrade more
> seamless, but it's more like there's a whole new version of PHP rather
> than a straightforward upgrade (in my mind).
>
> The end-goal is to have php- based metapackages for everything in the
> core, which will ease these kinds of issues going forward (as php-*
> ends
> up depending on php7.0-* right now and in a future release (e.g.,
> 17.04,
> say), we would change that dependency to be php7.1-*) and upgrades
> should work properly :) [with some additional work].
>
> Ondřej, do you have any further comments you might provide here? Or
> insight into what Debian might do for the next release as an answer to
> similar questions?
>
> Thanks,
> Nish
>
> ** Changed in: php5 (Ubuntu)
> Status: New => Triaged
>
> ** Changed in: php5 (Ubuntu)
> Importance: Undecided => Wishlist
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https://bugs.launchpad.net/bugs/1617397
>
> Title:
> Some php5 packages not upgraded to php7 from 14.04 to 16.04
>
> Status in php5 package in Ubuntu:
> Triaged
>
> Bug description:
> For reference:
>
> https://answers.launchpad.net/ubuntu/+question/364164
>
> libapache2-mod-php5 doesn't appear to get upgraded to libapache2-mod-
> php7, nor do a few others (mysql,sqlite). List of php packages on a
> working 14.04 install:
>
> ii libapache2-mod-php5 5.5.9+dfsg-1ubuntu4.19 amd64 server-side,
> HTML-embedded scripting language (Apache 2 module)
> ii php-auth 1.6.4-1 all Creating an authentication system
> ii php-auth-sasl 1.0.6-1 all Abstraction of various SASL mechanism
> responses
> ii php-db 1.7.14-2 all PHP PEAR Database Abstraction Layer
> ii php-http-request 1.4.4-4 all PEAR class to provide an easy way to
> perform HTTP requests
> ii php-log 1.12.7-1 all Logging Framework
> ii php-mail 1.2.0-6 all Class that provides multiple interfaces for
> sending emails
> ii php-mail-mime 1.8.8-1 all PHP PEAR module for creating MIME
> messages
> ii php-mdb2 2.5.0b5-1 all merge of the PEAR DB and Metabase php
> database abstraction layers
> ii php-net-dime 1.0.2-2 all class that implements DIME encoding
> ii php-net-smtp 1.6.1-1 all PHP PEAR module implementing SMTP
> protocol
> ii php-net-socket 1.0.14-1 all PHP PEAR Network Socket Interface
> module
> ii php-net-url 1.0.15-3 all easy parsing of Urls
> ii php-pear 5.5.9+dfsg-1ubuntu4.19 all PEAR - PHP Extension and
> Application Repository
> ii php-soap 0.13.0-1 all SOAP Client/Server class for PHP
> ii php5 5.5.9+dfsg-1ubuntu4.19 all server-side, HTML-embedded
> scripting language (metapackage)
> ii php5-cli 5.5.9+dfsg-1ubuntu4.19 amd64 command-line interpreter
> for the php5 scripting language
> ii php5-common 5.5.9+dfsg-1ubuntu4.19 amd64 Common files for
> packages built from the php5 source
> ii php5-curl 5.5.9+dfsg-1ubuntu4.19 amd64 CURL module for php5
> ii php5-gd 5.5.9+dfsg-1ubuntu4.19 amd64 GD module for php5
> ii php5-imap 5.4.6-0ubuntu5 amd64 IMAP module for php5
> ii php5-intl 5.5.9+dfsg-1ubuntu4.19 amd64 internationalisation module
> for php5
> ii php5-json 1.3.2-2build1 amd64 JSON module for php5
> ii php5-mcrypt 5.4.6-0ubuntu5 amd64 MCrypt module for php5
> ii php5-mysql 5.5.9+dfsg-1ubuntu4.19 amd64 MySQL module for php5
> ii php5-pspell 5.5.9+dfsg-1ubuntu4.19 amd64 pspell module for php5
> ii php5-readline 5.5.9+dfsg-1ubuntu4.19 amd64 Readline module for
> php5
> ii php5-sqlite 5.5.9+dfsg-1ubuntu4.19 amd64 SQLite module for php5
>
> List after do-release-upgrade to 16.04:
> ii php-auth 1.6.4-1build1 all Creating an authentication system
> ii php-auth-sasl 1.0.6-2build1 all Abstraction of various SASL
> mechanism responses
> ii php-cli 1:7.0+35ubuntu6 all command-line interpreter for the PHP
> scripting language (default)
> ii php-common 1:35ubuntu6 all Common files for PHP packages
> ii php-db 1.7.14-3build1 all PHP PEAR Database Abstraction Layer
> ii php-imap 1:7.0+35ubuntu6 all IMAP module for PHP [default]
> ii php-log 1.12.9-1build1 all Logging Framework
> ii php-mail 1.3.0-1 all Class that provides multiple interfaces for
> sending emails
> ii php-mdb2 2.5.0b5-1build1 all merge of the PEAR DB and Metabase
> php database abstraction layers
> ii php-net-smtp 1.7.1-1build1 all PHP PEAR module implementing SMTP
> protocol
> ii php-net-socket 1.0.14-1build1 all PHP PEAR Network Socket
> Interface module
> ii php-pear 1:1.10.1+submodules+notgz-6 all PEAR Base System
> ii php-soap 1:7.0+35ubuntu6 all SOAP module for PHP [default]
> ii php-xml 1:7.0+35ubuntu6 all DOM, SimpleXML, WDDX, XML, and XSL
> module for PHP [default]
> ii php7.0-cli 7.0.8-0ubuntu0.16.04.2 amd64 command-line interpreter
> for the PHP scripting language
> ii php7.0-common 7.0.8-0ubuntu0.16.04.2 amd64 documentation,
> examples and common module for PHP
> ii php7.0-imap 7.0.8-0ubuntu0.16.04.2 amd64 IMAP module for PHP
> ii php7.0-json 7.0.8-0ubuntu0.16.04.2 amd64 JSON module for PHP
> ii php7.0-opcache 7.0.8-0ubuntu0.16.04.2 amd64 Zend OpCache module
> for PHP
> ii php7.0-readline 7.0.8-0ubuntu0.16.04.2 amd64 readline module for
> PHP
> ii php7.0-soap 7.0.8-0ubuntu0.16.04.2 amd64 SOAP module for PHP
> ii php7.0-xml 7.0.8-0ubuntu0.16.04.2 amd64 DOM, SimpleXML, WDDX,
> XML, and XSL module for PHP
>
> from /var/log/dist-upgrade/screenlog.0:
>
> screenlog.0:dpkg: libapache2-mod-php5: dependency problems, but
> removing anyway as you requested:
> screenlog.0: php5 depends on libapache2-mod-php5 (>=
> 5.5.9+dfsg-1ubuntu4.19) | libapache2-mod-php5filter (>=
> 5.5.9+dfsg-1ubuntu4.19) | php5-cgi (>= 5.5.9+dfsg-1ubuntu4.19) |
> php5-fpm (>= 5.5.9+dfsg-1ubuntu4.19); however:
> screenlog.0: Package libapache2-mod-php5 is to be removed.
> screenlog.0: Package libapache2-mod-php5filter is not installed.
> screenlog.0:Removing libapache2-mod-php5 (5.5.9+dfsg-1ubuntu4.19) ...
>
> Thank you.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1617397/+subscriptions
Thank you Nish,
I appreciate the work on this. And I do understand that the upgrade
might not be possible. Perhaps a message during install then.."the
following PHP5 packages will not be upgraded to PHP7: <list here>. If
you required these packages then install via apt after upgrading"...or
something along those lines. Thanks again.
James
On 2016-09-06 14:05, Nish Aravamudan wrote: /bugs.launchpad .net/bugs/ 1617397 /answers. launchpad. net/ubuntu/ +question/ 364164 1ubuntu4. 19 amd64 server-side, 1ubuntu4. 19 all PEAR - PHP Extension and 1ubuntu4. 19 all server-side, HTML-embedded 1ubuntu4. 19 amd64 command-line interpreter 1ubuntu4. 19 amd64 Common files for 1ubuntu4. 19 amd64 CURL module for php5 1ubuntu4. 19 amd64 GD module for php5 1ubuntu4. 19 amd64 internationalis ation module 1ubuntu4. 19 amd64 MySQL module for php5 1ubuntu4. 19 amd64 pspell module for php5 1ubuntu4. 19 amd64 Readline module for 1ubuntu4. 19 amd64 SQLite module for php5 1+submodules+ notgz-6 all PEAR Base System 16.04.2 amd64 command-line interpreter 16.04.2 amd64 documentation, 16.04.2 amd64 IMAP module for PHP 16.04.2 amd64 JSON module for PHP 16.04.2 amd64 Zend OpCache module 16.04.2 amd64 readline module for 16.04.2 amd64 SOAP module for PHP 16.04.2 amd64 DOM, SimpleXML, WDDX, dist-upgrade/ screenlog. 0: mod-php5: dependency problems, but 1ubuntu4. 19) | libapache2- mod-php5filter (>= 1ubuntu4. 19) | php5-cgi (>= 5.5.9+dfsg- 1ubuntu4. 19) | 1ubuntu4. 19); however: mod-php5filter is not installed. 0:Removing libapache2-mod-php5 (5.5.9+ dfsg-1ubuntu4. 19) ... /bugs.launchpad .net/ubuntu/ +source/ php5/+bug/ 1617397/ +subscriptions
> Hello and thank you for filing this report!
>
> I am aware of the issue you referenced, but it's not necessarily an
> easy
> one to solve. The packages from 14.04 (php5 related) are replaced by
> those in 16.04 (php7.0 related), but e.g., the configuration files
> can't
> necessarily migrate -- so it's not a proper replacement, if that makes
> sense. Additionally, some packages simply don't exist any longer.
>
> I believe similar cases have existed in the past, with major version
> bumps. I will definitely consider ways to make the upgrade more
> seamless, but it's more like there's a whole new version of PHP rather
> than a straightforward upgrade (in my mind).
>
> The end-goal is to have php- based metapackages for everything in the
> core, which will ease these kinds of issues going forward (as php-*
> ends
> up depending on php7.0-* right now and in a future release (e.g.,
> 17.04,
> say), we would change that dependency to be php7.1-*) and upgrades
> should work properly :) [with some additional work].
>
> Ondřej, do you have any further comments you might provide here? Or
> insight into what Debian might do for the next release as an answer to
> similar questions?
>
> Thanks,
> Nish
>
> ** Changed in: php5 (Ubuntu)
> Status: New => Triaged
>
> ** Changed in: php5 (Ubuntu)
> Importance: Undecided => Wishlist
>
> --
> You received this bug notification because you are subscribed to the
> bug
> report.
> https:/
>
> Title:
> Some php5 packages not upgraded to php7 from 14.04 to 16.04
>
> Status in php5 package in Ubuntu:
> Triaged
>
> Bug description:
> For reference:
>
> https:/
>
> libapache2-mod-php5 doesn't appear to get upgraded to libapache2-mod-
> php7, nor do a few others (mysql,sqlite). List of php packages on a
> working 14.04 install:
>
> ii libapache2-mod-php5 5.5.9+dfsg-
> HTML-embedded scripting language (Apache 2 module)
> ii php-auth 1.6.4-1 all Creating an authentication system
> ii php-auth-sasl 1.0.6-1 all Abstraction of various SASL mechanism
> responses
> ii php-db 1.7.14-2 all PHP PEAR Database Abstraction Layer
> ii php-http-request 1.4.4-4 all PEAR class to provide an easy way to
> perform HTTP requests
> ii php-log 1.12.7-1 all Logging Framework
> ii php-mail 1.2.0-6 all Class that provides multiple interfaces for
> sending emails
> ii php-mail-mime 1.8.8-1 all PHP PEAR module for creating MIME
> messages
> ii php-mdb2 2.5.0b5-1 all merge of the PEAR DB and Metabase php
> database abstraction layers
> ii php-net-dime 1.0.2-2 all class that implements DIME encoding
> ii php-net-smtp 1.6.1-1 all PHP PEAR module implementing SMTP
> protocol
> ii php-net-socket 1.0.14-1 all PHP PEAR Network Socket Interface
> module
> ii php-net-url 1.0.15-3 all easy parsing of Urls
> ii php-pear 5.5.9+dfsg-
> Application Repository
> ii php-soap 0.13.0-1 all SOAP Client/Server class for PHP
> ii php5 5.5.9+dfsg-
> scripting language (metapackage)
> ii php5-cli 5.5.9+dfsg-
> for the php5 scripting language
> ii php5-common 5.5.9+dfsg-
> packages built from the php5 source
> ii php5-curl 5.5.9+dfsg-
> ii php5-gd 5.5.9+dfsg-
> ii php5-imap 5.4.6-0ubuntu5 amd64 IMAP module for php5
> ii php5-intl 5.5.9+dfsg-
> for php5
> ii php5-json 1.3.2-2build1 amd64 JSON module for php5
> ii php5-mcrypt 5.4.6-0ubuntu5 amd64 MCrypt module for php5
> ii php5-mysql 5.5.9+dfsg-
> ii php5-pspell 5.5.9+dfsg-
> ii php5-readline 5.5.9+dfsg-
> php5
> ii php5-sqlite 5.5.9+dfsg-
>
> List after do-release-upgrade to 16.04:
> ii php-auth 1.6.4-1build1 all Creating an authentication system
> ii php-auth-sasl 1.0.6-2build1 all Abstraction of various SASL
> mechanism responses
> ii php-cli 1:7.0+35ubuntu6 all command-line interpreter for the PHP
> scripting language (default)
> ii php-common 1:35ubuntu6 all Common files for PHP packages
> ii php-db 1.7.14-3build1 all PHP PEAR Database Abstraction Layer
> ii php-imap 1:7.0+35ubuntu6 all IMAP module for PHP [default]
> ii php-log 1.12.9-1build1 all Logging Framework
> ii php-mail 1.3.0-1 all Class that provides multiple interfaces for
> sending emails
> ii php-mdb2 2.5.0b5-1build1 all merge of the PEAR DB and Metabase
> php database abstraction layers
> ii php-net-smtp 1.7.1-1build1 all PHP PEAR module implementing SMTP
> protocol
> ii php-net-socket 1.0.14-1build1 all PHP PEAR Network Socket
> Interface module
> ii php-pear 1:1.10.
> ii php-soap 1:7.0+35ubuntu6 all SOAP module for PHP [default]
> ii php-xml 1:7.0+35ubuntu6 all DOM, SimpleXML, WDDX, XML, and XSL
> module for PHP [default]
> ii php7.0-cli 7.0.8-0ubuntu0.
> for the PHP scripting language
> ii php7.0-common 7.0.8-0ubuntu0.
> examples and common module for PHP
> ii php7.0-imap 7.0.8-0ubuntu0.
> ii php7.0-json 7.0.8-0ubuntu0.
> ii php7.0-opcache 7.0.8-0ubuntu0.
> for PHP
> ii php7.0-readline 7.0.8-0ubuntu0.
> PHP
> ii php7.0-soap 7.0.8-0ubuntu0.
> ii php7.0-xml 7.0.8-0ubuntu0.
> XML, and XSL module for PHP
>
> from /var/log/
>
> screenlog.0:dpkg: libapache2-
> removing anyway as you requested:
> screenlog.0: php5 depends on libapache2-mod-php5 (>=
> 5.5.9+dfsg-
> 5.5.9+dfsg-
> php5-fpm (>= 5.5.9+dfsg-
> screenlog.0: Package libapache2-mod-php5 is to be removed.
> screenlog.0: Package libapache2-
> screenlog.
>
> Thank you.
>
> To manage notifications about this bug go to:
> https:/