[pkg-php-pear] Bug#1010646: php-nrk-predis: After install php-nrk-predis, Predis seems to be unavailable for applications e.g. Horde

Leonardo Lopes leobruno at gmail.com
Thu May 5 23:36:33 BST 2022


Package: php-nrk-predis
Version: 1.0.0-1+b1
Severity: important

Dear Maintainer,


The php-nrk-predis package put the Predis library files under /usr/share/php/php-nrk-predis. The directory /usr/share/php/Predis is created but left empty.

However, it seems that /usr/share/php/Predis is the location where the Predis library is system-wide available. When setting Horde Groupware to use a Redis server for caching, one gets the followinf message: "A fatal error has occurredClass 'Predis\Client' not found".

Making /usr/share/php/Predis a symlink to /usr/share/php/php-nrk-predis solved the problem (at least for Horde). So I suppose that post-0install script could be adjusted to make this automatically.

I also cofirmed that the php-nrk-predis package on 'testing' install the Predis files under /usr/share/php/Predis ans makes /usr/share/php/php-nrk-predis a symlink to /usr/share/php/Predis.

Regards,
Leonardo Lopes


-- System Information:
Debian Release: 11.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-13-amd64 (SMP w/8 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information



More information about the pkg-php-pear mailing list