Comment 0 for bug 1890263

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

While checking how things behave for bug 1890029 I might have found another aspect/version of bug 1865218. But I'm not sure yet.

Bryce was working on that and he probably has a better answer, so I'll file a bug about what I've seen and assign it to him to share his thoughts.

I tried to ways of a bionic->focal upgrade in otherwise clear bionic LXD containers.

I did:
1. get a bionic container
2. apt install libapache2-mod-php7.2
   that will pull in apache as well and work

3a) edited /etc/apt/sources.list from bionic -> focal
    apt update
    apt dist-upgrade

This one left me with libapache2-mod-php7.2 of Bionic still installed and no 7.4 of Focal to be seen.

3b) I tried `do-release-upgrade -d` as some logic might be in there

This was different, it removed libapache2-mod-php7.2 but didn't bring in 7.4 as I'd have expected.
Before:
root@b-to-f2:~# dpkg -l | grep -e php -e apache2
ii apache2 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server
ii apache2-bin 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.29-1ubuntu4.13 all Apache HTTP Server (common files)
ii apache2-utils 2.4.29-1ubuntu4.13 amd64 Apache HTTP Server (utility programs for web servers)
ii libapache2-mod-php7.2 7.2.24-0ubuntu0.18.04.6 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php-common 1:60ubuntu1 all Common files for PHP packages
ii php7.2-cli 7.2.24-0ubuntu0.18.04.6 amd64 command-line interpreter for the PHP scripting language
ii php7.2-common 7.2.24-0ubuntu0.18.04.6 amd64 documentation, examples and common module for PHP
ii php7.2-json 7.2.24-0ubuntu0.18.04.6 amd64 JSON module for PHP
ii php7.2-opcache 7.2.24-0ubuntu0.18.04.6 amd64 Zend OpCache module for PHP
ii php7.2-readline 7.2.24-0ubuntu0.18.04.6 amd64

After:
root@b-to-f2:~# dpkg -l | grep -e php -e apache2
ii apache2 2.4.41-4ubuntu3 amd64 Apache HTTP Server
ii apache2-bin 2.4.41-4ubuntu3 amd64 Apache HTTP Server (modules and other binary files)
ii apache2-data 2.4.41-4ubuntu3 all Apache HTTP Server (common files)
ii apache2-utils 2.4.41-4ubuntu3 amd64 Apache HTTP Server (utility programs for web servers)
ii php-common 2:75 all

So mod-php is just gone :-/
Please tell me that I miss a point here, or is this really the come-back of 1865218?