Package: php5-pgsql Version: 5.2.6.dfsg.1-1+lenny2 Severity: minor
The following probably applies to other PHP5 extension packages. But I couldn't find any bug reported for it. anyway, here goes: # aptitude install pgsql-php ... # php5 -r 'print "hi\n";' hi # aptitude remove php5-pgsql ... # php5 -r 'print "hi\n";' PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/pdo_pgsql.so' - /usr/lib/php5/20060613/pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/pgsql.so' - /usr/lib/php5/20060613/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0 hi # grep -r pdo_pgsql.so /etc/php5 /etc/php5/apache2/conf.d/pdo_pgsql.ini:extension=pdo_pgsql.so /etc/php5/conf.d/pdo_pgsql.ini:extension=pdo_pgsql.so /etc/php5/cli/conf.d/pdo_pgsql.ini:extension=pdo_pgsql.so # aptitude purge php5-pgsql ... # php5 -r 'print "hi\n";' hi So on a mere 'remove', the leftover configuration files on /etc order php to load an extension that is no longer there. Workaround is obvious, if you don't have any customization: just purge the package rather than remove it. -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=he_IL.UTF-8, LC_CTYPE=he_IL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages php5-pgsql depends on: ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny2 server-side, HTML-embedded scripti ii libc6 2.7-18 GNU C Library: Shared libraries ii libpq5 8.3.5-1 PostgreSQL C client library ii php5-cli [phpapi-2 5.2.6.dfsg.1-1+lenny2 command-line interpreter for the p ii php5-common 5.2.6.dfsg.1-1+lenny2 Common files for packages built fr php5-pgsql recommends no packages. php5-pgsql suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org