[php-maint] Bug#713948: php5-fpm and php5: error when trying to install together
treinen at free.fr
Mon Jun 24 07:01:59 UTC 2013
User: treinen at debian.org
automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:
WARNING: The following packages cannot be authenticated!
libpcre3 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
libgssapi-krb5-2 libmagic1 libxml2 psmisc lsof ucf php5-common libonig2
libqdbm14 libsystemd-daemon0 mime-support php5-fpm php5
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libpcre3:amd64.
(Reading database ... 10808 files and directories currently installed.)
Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.31-2_amd64.deb) ...
Selecting previously unselected package libkeyutils1:amd64.
Unpacking libkeyutils1:amd64 (from .../libkeyutils1_1.5.5-7_amd64.deb) ...
Selecting previously unselected package libkrb5support0:amd64.
Unpacking libkrb5support0:amd64 (from .../libkrb5support0_1.10.1+dfsg-6_amd64.deb) ...
Selecting previously unselected package libk5crypto3:amd64.
Unpacking libk5crypto3:amd64 (from .../libk5crypto3_1.10.1+dfsg-6_amd64.deb) ...
Selecting previously unselected package libkrb5-3:amd64.
Unpacking libkrb5-3:amd64 (from .../libkrb5-3_1.10.1+dfsg-6_amd64.deb) ...
Selecting previously unselected package libgssapi-krb5-2:amd64.
Unpacking libgssapi-krb5-2:amd64 (from .../libgssapi-krb5-2_1.10.1+dfsg-6_amd64.deb) ...
Selecting previously unselected package libmagic1:amd64.
Unpacking libmagic1:amd64 (from .../libmagic1_1%3a5.14-2_amd64.deb) ...
Selecting previously unselected package libxml2:amd64.
Unpacking libxml2:amd64 (from .../libxml2_2.9.1+dfsg1-2_amd64.deb) ...
Selecting previously unselected package psmisc.
Unpacking psmisc (from .../psmisc_22.20-1_amd64.deb) ...
Selecting previously unselected package lsof.
Unpacking lsof (from .../lsof_4.86+dfsg-1_amd64.deb) ...
Selecting previously unselected package ucf.
Unpacking ucf (from .../archives/ucf_3.0027_all.deb) ...
Moving old data out of the way
Selecting previously unselected package php5-common.
Unpacking php5-common (from .../php5-common_5.5.0+dfsg-3_amd64.deb) ...
Selecting previously unselected package libonig2.
Unpacking libonig2 (from .../libonig2_5.9.1-1_amd64.deb) ...
Selecting previously unselected package libqdbm14.
Unpacking libqdbm14 (from .../libqdbm14_1.8.78-2_amd64.deb) ...
Selecting previously unselected package libsystemd-daemon0:amd64.
Unpacking libsystemd-daemon0:amd64 (from .../libsystemd-daemon0_44-12_amd64.deb) ...
Selecting previously unselected package mime-support.
Unpacking mime-support (from .../mime-support_3.54_all.deb) ...
Selecting previously unselected package php5-fpm.
Unpacking php5-fpm (from .../php5-fpm_5.5.0+dfsg-3_amd64.deb) ...
Selecting previously unselected package php5.
Unpacking php5 (from .../php5_5.5.0+dfsg-3_all.deb) ...
dpkg: error processing /var/cache/apt/archives/php5_5.5.0+dfsg-3_all.deb (--unpack):
trying to overwrite '/lib/systemd/system/php5-fpm.service', which is also in package php5-fpm 5.5.0+dfsg-3
Processing triggers for man-db ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is a serious bug as it makes installation fail, and violates
sections 7.6.1 and 10.1 of the policy. An optimal solution would
consist in only one of the packages installing that file, and renaming
or removing the file in the other package. Depending on the
circumstances you might also consider Replace relations or file
diversions. If the conflicting situation cannot be resolved then, as a
last resort, the two packages have to declare a mutual
Conflict. Please take into account that Replaces, Conflicts and
diversions should only be used when packages provide different
implementations for the same functionality.
Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):
This bug has been filed against both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may then
also register in the BTS that the other package is affected by the bug.
PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.
More information about the pkg-php-maint