Hi, * Ondřej Surý [Fri Jun 16, 2023 at 12:26:39PM +0200]:
> You have just removed but not purged the php7.4 packages, so that’s expected. As stated, those are all php* packages that exist(ed) on the system: > > | # dpkg -l | grep php > > | ii php-common 2:93 all > > Common files for PHP packages > > | ii php-imagick 3.7.0-4 amd64 > > Provides a wrapper to the ImageMagick library > > | rc php7.4-cli 7.4.33-1+deb11u4 amd64 > > command-line interpreter for the PHP scripting language > > | rc php7.4-common 7.4.33-1+deb11u4 amd64 > > documentation, examples and common module for PHP > > | rc php7.4-json 7.4.33-1+deb11u4 amd64 > > JSON module for PHP > > | rc php7.4-opcache 7.4.33-1+deb11u4 amd64 > > Zend OpCache module for PHP > > | rc php7.4-phpdbg 7.4.33-1+deb11u4 amd64 > > server-side, HTML-embedded scripting language (PHPDBG binary) > > | rc php7.4-readline 7.4.33-1+deb11u4 amd64 > > readline module for PHP > > | ii php8.2-cli 8.2.7-1~deb12u1 amd64 > > command-line interpreter for the PHP scripting language > > | ii php8.2-common 8.2.7-1~deb12u1 amd64 > > documentation, examples and common module for PHP > > | ii php8.2-imagick 3.7.0-4 amd64 > > Provides a wrapper to the ImageMagick library > > | ii php8.2-opcache 8.2.7-1~deb12u1 amd64 > > Zend OpCache module for PHP > > | ii php8.2-phpdbg 8.2.7-1~deb12u1 amd64 > > server-side, HTML-embedded scripting language (PHPDBG binary) > > | ii php8.2-readline 8.2.7-1~deb12u1 amd64 > > readline module for PHP And I purged all of the php7.4 ones (as stated): | root@d17a279d1015:/# dpkg -l | grep php | ii php-common 2:93 all Common files for PHP packages | ii php-imagick 3.7.0-4 amd64 Provides a wrapper to the ImageMagick library | rc php7.4-cli 7.4.33-1+deb11u4 amd64 command-line interpreter for the PHP scripting language | rc php7.4-common 7.4.33-1+deb11u4 amd64 documentation, examples and common module for PHP | rc php7.4-json 7.4.33-1+deb11u4 amd64 JSON module for PHP | rc php7.4-opcache 7.4.33-1+deb11u4 amd64 Zend OpCache module for PHP | rc php7.4-phpdbg 7.4.33-1+deb11u4 amd64 server-side, HTML-embedded scripting language (PHPDBG binary) | rc php7.4-readline 7.4.33-1+deb11u4 amd64 readline module for PHP | ii php8.2-cli 8.2.7-1~deb12u1 amd64 command-line interpreter for the PHP scripting language | ii php8.2-common 8.2.7-1~deb12u1 amd64 documentation, examples and common module for PHP | ii php8.2-imagick 3.7.0-4 amd64 Provides a wrapper to the ImageMagick library | ii php8.2-opcache 8.2.7-1~deb12u1 amd64 Zend OpCache module for PHP | ii php8.2-phpdbg 8.2.7-1~deb12u1 amd64 server-side, HTML-embedded scripting language (PHPDBG binary) | ii php8.2-readline 8.2.7-1~deb12u1 amd64 readline module for PHP | root@d17a279d1015:/# dpkg --purge php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-phpdbg php7.4-readline | (Reading database ... 11733 files and directories currently installed.) | Purging configuration files for php7.4-cli (7.4.33-1+deb11u4) ... | Purging configuration files for php7.4-common (7.4.33-1+deb11u4) ... | Purging configuration files for php7.4-json (7.4.33-1+deb11u4) ... | dpkg: warning: while removing php7.4-json, directory '/etc/php/7.4/mods-available' not empty so not removed | Purging configuration files for php7.4-opcache (7.4.33-1+deb11u4) ... | Purging configuration files for php7.4-phpdbg (7.4.33-1+deb11u4) ... | dpkg: warning: while removing php7.4-phpdbg, directory '/etc/php/7.4' not empty so not removed | Purging configuration files for php7.4-readline (7.4.33-1+deb11u4) ... | root@d17a279d1015:/# dpkg -l | grep php | ii php-common 2:93 all Common files for PHP packages | ii php-imagick 3.7.0-4 amd64 Provides a wrapper to the ImageMagick library | ii php8.2-cli 8.2.7-1~deb12u1 amd64 command-line interpreter for the PHP scripting language | ii php8.2-common 8.2.7-1~deb12u1 amd64 documentation, examples and common module for PHP | ii php8.2-imagick 3.7.0-4 amd64 Provides a wrapper to the ImageMagick library | ii php8.2-opcache 8.2.7-1~deb12u1 amd64 Zend OpCache module for PHP | ii php8.2-phpdbg 8.2.7-1~deb12u1 amd64 server-side, HTML-embedded scripting language (PHPDBG binary) | ii php8.2-readline 8.2.7-1~deb12u1 amd64 readline module for PHP | root@d17a279d1015:/# ls /etc/php/ | 7.4/ 8.2/ | root@d17a279d1015:/# ls /etc/php/7.4/mods-available/ | imagick.ini So I don't understand which php7.4 package you're referring to. :) The problem is perfectly reproducible: % podman run --pull=always --rm -i -t debian:bullseye bash # apt update ; apt-get -y install php-imagick [...] # cat > /etc/apt/sources.list << EOF deb http://deb.debian.org/debian bookworm main non-free-firmware deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware deb http://deb.debian.org/debian bookworm-updates main non-free-firmware EOF # apt update ; apt-get -y install php-common [...] # dpkg --purge php7.4-cli php7.4-common php7.4-json php7.4-opcache php7.4-phpdbg php7.4-readline [...] # dpkg -S /etc/php/7.4/mods-available/imagick.ini php-imagick: /etc/php/7.4/mods-available/imagick.ini HTH regards -mika-
signature.asc
Description: PGP signature

