Adspectus
(Uwe Gehring)
April 23, 2022, 8:30am
1
I am running Icinga2 on a Debian server - details see below.
Even though IcingaWeb2 shows it is running with PHP 8.0.17, there is still a dependency for the php7.4-common and php7.4-json packages, which I tried to uninstall, but this would uninstall icinga as well:
aptitude why php7.4-common
i icingaweb2 Hängt ab von icingaweb2-common (= 2.10.1-1.stretch)
i A icingaweb2-common Hängt ab von icinga-php-thirdparty (>= 0.10.0)
i A icinga-php-thirdparty Hängt ab von php-sockets
i A php7.4-common Liefert php-sockets
And if I try to remove the package:
apt-get remove php7.4-common
Die folgenden Pakete werden ENTFERNT:
icinga-php-library icinga-php-thirdparty icingacli icingaweb2 icingaweb2-common icingaweb2-module-doc
icingaweb2-module-monitoring php7.4-common php7.4-json
(The same output is with php7.4-json)
Actually I have no PHP 7.4 installed and no other php7.4-… packages are on my system. How can I remove the two php7.4- packages without removing icingaweb2?
Icinga Web 2 version: 2.10.1
Used modules and their versions (System - About): monitoring 2.10.1
Web browser used: Firefox
Icinga 2 version used (icinga2 --version
): r2.13.3-1
PHP version used (php --version
): 8.0.17
Server operating system and version: Debian 9 (stretch)
1 Like
Adspectus
(Uwe Gehring)
May 3, 2022, 5:28pm
3
Why not?
$ cat /etc/debian_version
9.13
Al2Klimov
(Grandmaster)
May 4, 2022, 7:56am
4
Well, you have PHP 8, PHP 7.4, …
Adspectus
(Uwe Gehring)
May 4, 2022, 8:09am
5
PHP 8, yes. What is your point here?
I do not have PHP 7 installed, except for the 2 packages which I can’t uninstall because that would uninstall icingaweb2 as well - as outlined above.
The question for me is, why does icingaweb2 has a dependency to the 2 php7.4 packages, while it is running well with PHP 8?
Al2Klimov
(Grandmaster)
May 4, 2022, 8:35am
6
What does dpkg --get-selections |grep php
say?
Adspectus
(Uwe Gehring)
May 4, 2022, 8:40am
7
icinga-php-common install
icinga-php-library install
icinga-php-thirdparty install
libapache2-mod-php8.0 install
libapache2-mod-php8.1 install
php-common install
php-icinga install
php-pear install
php7.4-common install
php7.4-json install
php8.0 install
php8.0-bcmath deinstall
php8.0-bz2 install
php8.0-cli install
php8.0-common install
php8.0-curl install
php8.0-dev install
php8.0-fpm install
php8.0-gd install
php8.0-gmp install
php8.0-imagick install
php8.0-intl install
php8.0-ldap deinstall
php8.0-mbstring install
php8.0-mysql install
php8.0-opcache install
php8.0-readline install
php8.0-soap install
php8.0-xml install
php8.0-zip install
php8.1 install
php8.1-cli install
php8.1-common install
php8.1-curl install
php8.1-imagick install
php8.1-intl install
php8.1-ldap install
php8.1-mysql install
php8.1-opcache install
php8.1-readline install
php8.1-soap install
php8.1-xml install
pkg-php-tools install
Adspectus
(Uwe Gehring)
May 4, 2022, 9:11am
9
I appreciate that someone cares about this but why are you asking things I already posted?
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Al2Klimov
(Grandmaster)
May 5, 2022, 7:36am
10
And apt show php8.0-common
?
Adspectus
(Uwe Gehring)
May 5, 2022, 8:09am
11
Package: php8.0-common
Version: 8.0.18-1+0~20220421.32+debian9~1.gbp8167ed
Priority: optional
Section: php
Source: php8.0
Maintainer: Debian PHP Maintainers <team+pkg-php@tracker.debian.org>
Installed-Size: 8.164 kB
Provides: php-calendar, php-ctype, php-exif, php-ffi, php-fileinfo, php-ftp, php-iconv, php-pdo, php-phar, php-posix, php-shmop, php-sockets, php-sysvmsg, php-sysvsem, php-sysvshm, php-tokenizer, php8.0-calendar, php8.0-ctype, php8.0-exif, php8.0-ffi, php8.0-fileinfo, php8.0-ftp, php8.0-gettext, php8.0-iconv, php8.0-pdo, php8.0-phar, php8.0-posix, php8.0-shmop, php8.0-sockets, php8.0-sysvmsg, php8.0-sysvsem, php8.0-sysvshm, php8.0-tokenizer
Depends: php-common (>= 1:81~), ucf, libc6 (>= 2.15), libffi6 (>= 3.0.10~rc8), libssl1.1 (>= 1.1.0)
Breaks: gforge-common (<< 6), php7.0-curl (<< 7.0.33-1~), php7.2-sodium (<< 7.2.12~)
Homepage: http://www.php.net/
Download-Size: 651 kB
APT-Manual-Installed: no
APT-Sources: https://packages.sury.org/php stretch/main amd64 Packages
Description: documentation, examples and common module for PHP
Al2Klimov
(Grandmaster)
May 5, 2022, 8:39am
12
Adspectus:
Provides: php-calendar, php-ctype, php-exif, php-ffi, php-fileinfo, php-ftp, php-iconv, php-pdo, php-phar, php-posix, php-shmop, php-sockets
Strange. Not only php7.4-common, but also the already installed php8.0-common provides php-sockets.
@htriem Any ideas?
roben
(Roben)
May 27, 2022, 1:14pm
13
Did you find any solution for this? The same happens with Debian 11 and PHP repositories from sury.org .
Adspectus
(Uwe Gehring)
May 27, 2022, 2:42pm
14
No, until now, there is no solution.