[php-maint] Bug#816429: Bug#816429: php7.0: Please check that $inidir exists before try to rmdir in php-module.preinst.in
Ondřej Surý
ondrej at sury.org
Tue Mar 1 20:34:30 UTC 2016
Good catch! Although I tested various upgrade scenarios I missed this.
Building fixed packages right now.
Cheers,
--
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server
On Tue, Mar 1, 2016, at 20:35, Alf Gaida wrote:
> 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
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint
> Email had 1 attachment:
> + test_inidir.patch
> 1k (text/x-diff)
More information about the pkg-php-maint
mailing list