[ixpmanager] php8.1 woes

Nick Hilliard (INEX) nick at inex.ie
Thu Feb 2 22:41:16 GMT 2023


Jay Hanke via ixpmanager wrote on 02/02/2023 22:09:

> I went through the fix instructions but it looks like apt remove isn't
> getting rid of the 8.1 files.
> (https://www.inex.ie/pipermail/ixpmanager/2021-November/003340.html)
> 
> Any ideas?

The packages have been removed.  When you execute "dpkg", any line that 
starts with "rc" means that the package has been removed, although 
config files may remain. If the line starts with "ii", it means that the 
package is successfully installed.

So, any php8.1 package marked as rc can be purged, which will get rid of 
it completely. You can get a list of these using:

# dpkg -l | grep ^rc

They can be fully removed using:

# apt purge php8.1-memcached

If you want to get rid of anything relating to php8.1:

# apt purge \*php8.1\*

More info here:

https://www.inex.ie/pipermail/ixpmanager/2022-May/003494.html
https://www.inex.ie/pipermail/ixpmanager/2021-November/003340.html

Nick

> root at ixpmgr:~# apt remove php8.1-memcached
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Package 'php8.1-memcached' is not installed, so not removed
> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
> 
> 
> 
> 
> root at ixpmgr:~# dpkg -l | grep php8.1
> rc  libapache2-mod-php8.1
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        server-side,
> rc  php8.1-bcmath
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        Bcmath modul
> rc  php8.1-cli
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        command-line
> rc  php8.1-common
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        documentatio
> rc  php8.1-ds
> 1.4.0-4+ubuntu20.04.1+deb.sury.org+10
> amd64        PHP extensio
> rc  php8.1-igbinary                        3.2.6+2.0.8-7ubuntu1
>                                           amd64        igbinary PHP
> rc  php8.1-mbstring
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        MBSTRING mod
> rc  php8.1-memcache
> 8.0+4.0.5.2+3.0.9~20170802.e702b5f9+-7+ubuntu20.04.1+deb.sury.org+10
> amd64        memcache ext
> rc  php8.1-memcached                       3.1.5+2.2.0-14.1
>                                           amd64        memcached ex
> rc  php8.1-msgpack
> 1:2.2.0~rc1-1+ubuntu20.04.1+deb.sury.org+1
> amd64        PHP extensio
> rc  php8.1-mysql
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        MySQL module
> rc  php8.1-opcache
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        Zend OpCache
> rc  php8.1-phpdbg
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        server-side,
> rc  php8.1-readline
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        readline mod
> rc  php8.1-rrd
> 2.0.3+1.1.3-6+ubuntu20.04.1+deb.sury.org+10
> amd64        PHP bindings
> rc  php8.1-snmp
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        SNMP module
> rc  php8.1-xml
> 8.1.12-1+ubuntu20.04.1+deb.sury.org+1
> amd64        DOM, SimpleX
> rc  php8.1-yaml
> 2.2.2+2.1.0+2.0.4+1.3.2-5+ubuntu20.04.1+deb.sury.org+10
> amd64        YAML-1.1 par
> root at ixpmgr:~# apt remove php8.1-yaml
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Package 'php8.1-yaml' is not installed, so not removed
> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
> root at ixpmgr:~# apt remove php-yaml
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> Package 'php-yaml' is not installed, so not removed
> 0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
> _______________________________________________
> INEX IXP Manager mailing list
> ixpmanager at inex.ie
> Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
> 


More information about the ixpmanager mailing list