<html theme="themeKey88rand710" iconset="monochrome"><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body
text="#000000">
<br>
Hi all,<br>
<br>
PHP 8.1 was released in the last few days. When it comes to updates,
this may cause an issue - e.g.:<br>
<br>
<span style="color: rgb(50, 45, 45);"><span style="font-family:
monospace;">root@ixpmanager:/srv/ixpmanager# apt up</span></span><span
style="color: rgb(50, 45, 45);"><span style="font-family: monospace;">date</span></span><span
style="color: rgb(50, 45, 45);"><span style="font-family: monospace;"><br>
</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;">...</span></span><span style="color:
rgb(50, 45, 45);"><span style="font-family: monospace;"><br>
</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;">root@ixpmanager:/srv/ixpmanager# apt
upgrade</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;"><br>
</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;">...</span></span><span style="color:
rgb(50, 45, 45);"><span style="font-family: monospace;"><br>
</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;">The following NEW packages will be
installed:</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;"><br>
</span></span><span style="color: rgb(50, 45, 45);"><span
style="font-family: monospace;"> distro-info libllvm12 php8.1-common
php8.1-ds php8.1-igbinary php8.1-memcache ...</span></span><span
style="color: rgb(50, 45, 45);"><span style="font-family: monospace;"><br>
</span></span><span style="color: rgb(50, 45, 45);"><br>
</span><br>
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.<br>
<br>
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.<br>
<br>
You can solve as follows:<br>
<br>
<span style="color: rgb(50, 45, 45);"><span style="font-family:
monospace;">dpkg -r php-ds php-igbinary php-memcache php-memcached
php-msgpack php-rrd php-yaml</span></span><br>
<br>
The above should be a no-op as these are aliases. You then need to
explicitly install the version specific ones:<br>
<br>
<span style="color: rgb(50, 45, 45);"><span style="font-family:
monospace;">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</span></span><span
style="color: rgb(113, 102, 102);"><span style="font-family:
monospace;"><br>
</span></span><br>
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.<br>
<br>
You'll need to sanity check each step as you do this to ensure the
results are sane. <br>
<br>
The desired result is that <span style="color: rgb(109, 10, 81);"><span
style="font-family: monospace;">dpkg -l | grep php8.1</span></span>
returns no packages.<br>
<br>
The installation documentation and automated installers have all been
updated to use php8.0-xxx specific packages.<br>
<br>
Thanks,<br>
- Barry<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br><br>
Kind regards,
<br>
Barry O'Donovan
<br>
INEX <br>
<br>
</div>
</body>
</html>