[php-maint] Bug#422173: php5-gd: /etc/php5/conf.d/gd.ini is kept after removal

Raphael atomo64 at gmail.com
Fri May 4 02:01:35 UTC 2007


Package: php5-gd
Version: 5.2.0-8+etch1
Version: 5.2.0-10
Severity: normal

root at nova:/# ls /etc/php5/conf.d
gd.ini  pdo.ini
root at nova:/# apt-get remove php5-gd
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  php5-gd
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 164kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 12826 files and directories currently installed.)
Removing php5-gd ...
root at nova:/# ls /etc/php5/conf.d
gd.ini  pdo.ini

The gd.ini file should be removed after removal, otherwise:

$ php5 -v
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so:
cannot open shared object file: No such file or directory in Unknown
on line 0
PHP 5.2.0-10 (cli) (built: Mar  7 2007 22:42:14)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
    with Suhosin v0.9.18, Copyright (c) 2002-2006, by Hardened-PHP Project


Note: I've tested under etch and lenny, both are affected (and so sid).

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-a64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages php5-gd depends on:
ii  libapache2-mod-php5 [phpa 5.2.0-10       server-side, HTML-embedded scripti
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libfreetype6              2.2.1-5        FreeType 2 font engine, shared lib
ii  libgd2-xpm                2.0.34~rc1-2   GD Graphics Library version 2
ii  libjpeg62                 6b-13          The Independent JPEG Group's JPEG
ii  libpng12-0                1.2.15~beta5-1 PNG library - runtime
ii  libt1-5                   5.1.0-2        Type 1 font rasterizer library - r
ii  libx11-6                  2:1.0.3-7      X11 client-side library
ii  libxpm4                   1:3.5.5-2      X11 pixmap library
ii  php5-cli [phpapi-20060613 5.2.0-10       command-line interpreter for the p
ii  php5-common               5.2.0-10       Common files for packages built fr
ii  zlib1g                    1:1.2.3-13     compression library - runtime

php5-gd recommends no packages.

-- debconf information excluded


-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




More information about the pkg-php-maint mailing list