Comment 8 for bug 1890263

Revision history for this message
Bryce Harrington (bryce) wrote :

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

# lsb_release -sc
jammy

# apt-cache policy libapache2-mod-php* | grep -B1 Installed:
libapache2-mod-php:
  Installed: 2:8.1+92ubuntu1
--
libapache2-mod-php7.4:
  Installed: (none)
--
libapache2-mod-php8.0:
  Installed: 8.1.2-1ubuntu2
--
libapache2-mod-php8.1:
  Installed: 8.1.2-1ubuntu2
--
libapache2-mod-php5:
  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
$ lxc delete lp1890263-modphp-buggy-impish

Due to this, we can close out the impish tasks for this bug, as solved.