I verified that the fix uploaded for jammy that's now available in the release, does indeed resolve the issue for impish:
###########################################
### Impish Test Case for BUGGY Behavior ###
###########################################
$ lxc launch ubuntu-daily:impish lp1890263-modphp-buggy-impish
$ lxc shell lp1890263-modphp-buggy-impish
# apt-get update; apt-get -y full-upgrade; apt-get -y autoremove
# reboot
$ lxc shell lp1890263-modphp-buggy-impish
# apt install -y libapache2-mod-php8.0
The following NEW packages will be installed:
apache2 ... libapache2-mod-php8.0 ... php8.0-common ...
...
# do-release-upgrade
- Answer defaults for everything
- Allow it to reboot when done, and log back in
I verified that the fix uploaded for jammy that's now available in the release, does indeed resolve the issue for impish:
####### ####### ####### ####### ####### ####### # ####### ####### ####### ####### ####### # modphp- buggy-impish modphp- buggy-impish modphp- buggy-impish mod-php8. 0 mod-php8. 0 ... php8.0-common ...
### Impish Test Case for BUGGY Behavior ###
#######
$ lxc launch ubuntu-daily:impish lp1890263-
$ lxc shell lp1890263-
# apt-get update; apt-get -y full-upgrade; apt-get -y autoremove
# reboot
$ lxc shell lp1890263-
# apt install -y libapache2-
The following NEW packages will be installed:
apache2 ... libapache2-
...
# do-release-upgrade
- Answer defaults for everything
- Allow it to reboot when done, and log back in
# lsb_release -sc
jammy
# apt-cache policy libapache2-mod-php* | grep -B1 Installed: mod-php7. 4: mod-php8. 0: mod-php8. 1: mod-php5:
libapache2-mod-php:
Installed: 2:8.1+92ubuntu1
--
libapache2-
Installed: (none)
--
libapache2-
Installed: 8.1.2-1ubuntu2
--
libapache2-
Installed: 8.1.2-1ubuntu2
--
libapache2-
Installed: (none)
# result=$(apt-cache policy libapache2- mod-php8. 1 | grep Installed: | cut -d: -f2 | xargs)
# [ "${result}" = "(none)" ] && echo "BUG DETECTED"
# logout
$ lxc stop lp1890263- modphp- buggy-impish modphp- buggy-impish
$ lxc delete lp1890263-
Due to this, we can close out the impish tasks for this bug, as solved.