Hmm. Yes, seems pretty straightforward to reproduce the problem in lxc. At the end of the upgrade it offers to remove mod php 7.2: Reading state information... Done Remove obsolete packages? 69 packages are going to be removed. Continue [yN] Details [d]d Remove: libapache2-mod-php7.2 Remove (was auto installed) acl acpid btrfs-tools command-not-found-data dns-root-data dnsmasq-base ebtables gcc-8-base geoip-database libbind9-160 libdns-export1100 libdns1100 libevent-2.1-6 libffi6 libfreetype6 libgdbm5 libgeoip1 libhogweed4 libicu60 libidn11 libip4tc0 libip6tc0 libiptc0 libirs160 libisc-export169 libisc169 libisccc160 libisccfg160 libjson-c3 liblvm2app2.2 liblvm2cmd2.02 liblwres160 liblxc-common liblxc1 libncurses5 libncursesw5 libnettle6 libnih1 libntfs-3g88 libperl5.26 libplymouth4 libprocps6 libpython3.6 libpython3.6-minimal libpython3.6-stdlib libreadline7 libssl1.0.0 libtinfo5 lxcfs lxd lxd-client mlocate multiarch-support net-tools nplan perl-modules-5.26 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline python3-asn1crypto python3-pam python3.6 python3.6-minimal uidmap ureadahead xdelta3 I wonder if there needs to be a dependency added for the libapache2-mod-php virtual package. On Tue, Aug 04, 2020 at 09:47:14AM -0000, Christian Ehrhardt  wrote: > Note: I'll leave the two containers as-is for now in case you want any > logs in them to be checked. > > -- > You received this bug notification because you are a bug assignee. > https://bugs.launchpad.net/bugs/1890263 > > Title: > release upgrade does not move to the new php apache mod > > Status in php7.4 package in Ubuntu: > New > > Bug description: > 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? > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/php7.4/+bug/1890263/+subscriptions