[ixpmanager] PHP 8.1 released - may cause some issues with apt upgrade
Barry O'Donovan (INEX)
barry.odonovan at inex.ie
Fri Nov 26 16:35:16 GMT 2021
Hi all,
PHP 8.1 was released in the last few days. When it comes to updates,
this may cause an issue - e.g.:
root at ixpmanager:/srv/ixpmanager# apt update
...
root at ixpmanager:/srv/ixpmanager# apt upgrade
...
The following NEW packages will be installed:
distro-info libllvm12 php8.1-common php8.1-ds php8.1-igbinary
php8.1-memcache ...
While IXP Manager should work fine with 8.1, we haven't tested it yet.
But also, you don't want a mixed 8.0 / 8.1 environment on your system.
The reason the above happens is because the installation instructions I
did up had some PHP packages as version specific (i.e. php8.0-xxx) but
others as aliases (php-xxx) - it's the aliases that are causing the
above issue.
You can solve as follows:
dpkg -r php-ds php-igbinary php-memcache php-memcached php-msgpack
php-rrd php-yaml
The above should be a no-op as these are aliases. You then need to
explicitly install the version specific ones:
apt install php8.0-common php8.0-ds php8.0-igbinary php8.0-memcache
php8.0-memcached php8.0-msgpack php8.0-rrd php8.0-yaml
The above may or may not install packages - it depends on whether the
ones you have installed are up to date or not. If they are up to date,
then the above just marks them as explicitly installed (rather than
installed because of the php-xxx alias). If they are not up to date,
they will be upgraded. Either result is fine.
You'll need to sanity check each step as you do this to ensure the
results are sane.
The desired result is that dpkg -l | grep php8.1 returns no packages.
The installation documentation and automated installers have all been
updated to use php8.0-xxx specific packages.
Thanks,
- Barry
--
Kind regards,
Barry O'Donovan
INEX
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20211126/5e05b2cf/attachment.htm>
More information about the ixpmanager
mailing list