[php-maint] Bug#816429: php7.0: Please check that $inidir exists before try to rmdir in php-module.preinst.in

Alf Gaida agaida at siduction.org
Tue Mar 1 19:35:44 UTC 2016


Package: php7.0-common
Version: 7.0.3-12
Severity: important
Tags: patch

Dear Maintainer,

Please check befor rmdir, otherwise the installation might end like this:

Preparing to unpack .../php7.0-curl_7.0.3-12_amd64.deb ...
rmdir: failed to remove '/etc/php/mods-available': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/php7.0-curl_7.0.3-12_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Preparing to unpack .../php7.0-readline_7.0.3-12_amd64.deb ...
rmdir: failed to remove '/etc/php/mods-available': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/php7.0-readline_7.0.3-12_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1

Greetz Alf

-- System Information:
Debian Release: stretch/sid
  APT prefers buildd-unstable
  APT policy: (990, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (400, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.3-towo.1-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages php7.0 depends on:
ii  libapache2-mod-php7.0  7.0.3-12
ii  php7.0-cgi             7.0.3-12
ii  php7.0-common          7.0.3-12
ii  php7.0-fpm             7.0.3-12

php7.0 recommends no packages.

php7.0 suggests no packages.

Versions of packages php7.0-common depends on:
ii  libc6        2.21-9
ii  libssl1.0.2  1.0.2f-2
ii  php-common   1:33
ii  ucf          3.0035
ii  zlib1g       1:1.2.8.dfsg-2+b1

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_inidir.patch
Type: text/x-diff
Size: 412 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20160301/665b9de7/attachment.patch>


More information about the pkg-php-maint mailing list