[Pkg-roundcube-maintainers] Bug#714135: roundcube-plugins-extra and roundcube-plugins: error when trying to install together

Ralf Treinen treinen at free.fr
Wed Jun 26 06:10:13 UTC 2013


Package: roundcube-plugins,roundcube-plugins-extra
Version: roundcube-plugins/0.9.2-1
Version: roundcube-plugins-extra/0.7-20120110
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2013-06-26
Architecture: amd64
Distribution: sid

Hi,

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 libcap2 libbsd0 libedit2 libkeyutils1 libkrb5support0 libk5crypto3
  libkrb5-3 libgssapi-krb5-2 libsasl2-2 libldap-2.4-2 libmagic1 libxml2
  mime-support libapr1 libexpat1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap liblua5.1-0 apache2-bin apache2-data apache2 libonig2
  libqdbm14 psmisc lsof ucf php5-common libapache2-mod-php5 libfreetype6
  fonts-dejavu-core ttf-dejavu-core fontconfig-config libfontconfig1 libjpeg8
  libpng12-0 libjbig0 libtiff4 libvpx1 libxau6 libxdmcp6 libxcb1 libx11-data
  libx11-6 libxpm4 libgd3 libicu48 libltdl7 mysql-common libmysqlclient18
  php5-cli php-pear php-net-socket php-net-smtp php5-gd php5-intl libmcrypt4
  php5-mcrypt libaspell15 php5-pspell libjson-c2 php5-mysqlnd dbconfig-common
  libdbi-perl libdbd-mysql-perl libjs-jquery libjs-jquery-mousewheel
  libjs-jquery-ui mysql-client-5.5 mysql-client php-auth php-mail-mimedecode
  php-mail-mime php-net-sieve php5-json tinymce roundcube-mysql roundcube-core
  roundcube-plugins roundcube-plugins-extra

Extracting templates from packages: 37%
Extracting templates from packages: 74%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libpcre3:amd64.
(Reading database ... 10832 files and directories currently installed.)
Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.31-2_amd64.deb) ...
Selecting previously unselected package libcap2:amd64.
Unpacking libcap2:amd64 (from .../libcap2_1%3a2.22-1.2_amd64.deb) ...
Selecting previously unselected package libbsd0:amd64.
Unpacking libbsd0:amd64 (from .../libbsd0_0.5.2-1_amd64.deb) ...
Selecting previously unselected package libedit2:amd64.
Unpacking libedit2:amd64 (from .../libedit2_2.11-20080614-6_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 libsasl2-2:amd64.
Unpacking libsasl2-2:amd64 (from .../libsasl2-2_2.1.25.dfsg1-8_amd64.deb) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Unpacking libldap-2.4-2:amd64 (from .../libldap-2.4-2_2.4.31-1+nmu2_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 mime-support.
Unpacking mime-support (from .../mime-support_3.54_all.deb) ...
Selecting previously unselected package libapr1.
Unpacking libapr1 (from .../libapr1_1.4.6-4_amd64.deb) ...
Selecting previously unselected package libexpat1:amd64.
Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-3_amd64.deb) ...
Selecting previously unselected package libaprutil1.
Unpacking libaprutil1 (from .../libaprutil1_1.5.2-1_amd64.deb) ...
Selecting previously unselected package libaprutil1-dbd-sqlite3.
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.5.2-1_amd64.deb) ...
Selecting previously unselected package libaprutil1-ldap.
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.5.2-1_amd64.deb) ...
Selecting previously unselected package liblua5.1-0:amd64.
Unpacking liblua5.1-0:amd64 (from .../liblua5.1-0_5.1.5-4_amd64.deb) ...
Selecting previously unselected package apache2-bin.
Unpacking apache2-bin (from .../apache2-bin_2.4.4-6_amd64.deb) ...
Selecting previously unselected package apache2-data.
Unpacking apache2-data (from .../apache2-data_2.4.4-6_all.deb) ...
Selecting previously unselected package apache2.
Unpacking apache2 (from .../apache2_2.4.4-6_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 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-4_amd64.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up mime-support (3.54) ...
Setting up libapr1 (1.4.6-4) ...
Setting up libexpat1:amd64 (2.1.0-3) ...
Setting up libaprutil1 (1.5.2-1) ...
Setting up libaprutil1-dbd-sqlite3 (1.5.2-1) ...
Setting up libsasl2-2:amd64 (2.1.25.dfsg1-8) ...
Setting up libldap-2.4-2:amd64 (2.4.31-1+nmu2) ...
Setting up libaprutil1-ldap (1.5.2-1) ...
Setting up libcap2:amd64 (1:2.22-1.2) ...
Setting up liblua5.1-0:amd64 (5.1.5-4) ...
Setting up libpcre3:amd64 (1:8.31-2) ...
Setting up libxml2:amd64 (2.9.1+dfsg1-2) ...
Setting up apache2-bin (2.4.4-6) ...
Setting up apache2-data (2.4.4-6) ...
Setting up apache2 (2.4.4-6) ...
Enabling module mpm_event.
Enabling module authz_core.
Enabling module authz_host.
Enabling module auth_basic.
Enabling module access_compat.
Enabling module authn_file.
Enabling module authz_user.
Enabling module alias.
Enabling module dir.
Enabling module autoindex.
Enabling module env.
Enabling module mime.
Enabling module negotiation.
Enabling module setenvif.
Enabling module filter.
Enabling module deflate.
Enabling module status.
Enabling conf charset.
Enabling conf localized-error-pages.
Enabling conf other-vhosts-access-log.
Enabling conf security.
Enabling conf serve-cgi-bin.
Enabling site 000-default.
invoke-rc.d: policy-rc.d denied execution of start.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libapache2-mod-php5.
(Reading database ... 11773 files and directories currently installed.)
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package libfreetype6:amd64.
Unpacking libfreetype6:amd64 (from .../libfreetype6_2.4.9-1.1_amd64.deb) ...
Selecting previously unselected package fonts-dejavu-core.
Unpacking fonts-dejavu-core (from .../fonts-dejavu-core_2.33+svn2514-3_all.deb) ...
Selecting previously unselected package ttf-dejavu-core.
Unpacking ttf-dejavu-core (from .../ttf-dejavu-core_2.33+svn2514-3_all.deb) ...
Selecting previously unselected package fontconfig-config.
Unpacking fontconfig-config (from .../fontconfig-config_2.10.2-1_all.deb) ...
Selecting previously unselected package libfontconfig1:amd64.
Unpacking libfontconfig1:amd64 (from .../libfontconfig1_2.10.2-1_amd64.deb) ...
Selecting previously unselected package libjpeg8:amd64.
Unpacking libjpeg8:amd64 (from .../libjpeg8_8d-1_amd64.deb) ...
Selecting previously unselected package libpng12-0:amd64.
Unpacking libpng12-0:amd64 (from .../libpng12-0_1.2.49-4_amd64.deb) ...
Selecting previously unselected package libjbig0:amd64.
Unpacking libjbig0:amd64 (from .../libjbig0_2.0-2_amd64.deb) ...
Selecting previously unselected package libtiff4:amd64.
Unpacking libtiff4:amd64 (from .../libtiff4_3.9.7-1_amd64.deb) ...
Selecting previously unselected package libvpx1:amd64.
Unpacking libvpx1:amd64 (from .../libvpx1_1.2.0-2_amd64.deb) ...
Selecting previously unselected package libxau6:amd64.
Unpacking libxau6:amd64 (from .../libxau6_1%3a1.0.8-1_amd64.deb) ...
Selecting previously unselected package libxdmcp6:amd64.
Unpacking libxdmcp6:amd64 (from .../libxdmcp6_1%3a1.1.1-1_amd64.deb) ...
Selecting previously unselected package libxcb1:amd64.
Unpacking libxcb1:amd64 (from .../libxcb1_1.9.1-3_amd64.deb) ...
Selecting previously unselected package libx11-data.
Unpacking libx11-data (from .../libx11-data_2%3a1.6.0-1_all.deb) ...
Selecting previously unselected package libx11-6:amd64.
Unpacking libx11-6:amd64 (from .../libx11-6_2%3a1.6.0-1_amd64.deb) ...
Selecting previously unselected package libxpm4:amd64.
Unpacking libxpm4:amd64 (from .../libxpm4_1%3a3.5.10-1_amd64.deb) ...
Selecting previously unselected package libgd3:amd64.
Unpacking libgd3:amd64 (from .../libgd3_2.1.0~rc2-2_amd64.deb) ...
Selecting previously unselected package libicu48:amd64.
Unpacking libicu48:amd64 (from .../libicu48_4.8.1.1-12_amd64.deb) ...
Selecting previously unselected package libltdl7:amd64.
Unpacking libltdl7:amd64 (from .../libltdl7_2.4.2-1.2_amd64.deb) ...
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.5.31+dfsg-1_all.deb) ...
Selecting previously unselected package libmysqlclient18:amd64.
Unpacking libmysqlclient18:amd64 (from .../libmysqlclient18_5.5.31+dfsg-1_amd64.deb) ...
Selecting previously unselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package php-pear.
Unpacking php-pear (from .../php-pear_5.5.0+dfsg-4_all.deb) ...
Selecting previously unselected package php-net-socket.
Unpacking php-net-socket (from .../php-net-socket_1.0.14-1_all.deb) ...
Processing triggers for man-db ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up psmisc (22.20-1) ...
Setting up lsof (4.86+dfsg-1) ...
Setting up ucf (3.0027) ...
Setting up php5-common (5.5.0+dfsg-4) ...

Creating config file /etc/php5/mods-available/pdo.ini with new version

Creating config file /etc/php5/mods-available/opcache.ini with new version
Setting up libkeyutils1:amd64 (1.5.5-7) ...
Setting up libkrb5support0:amd64 (1.10.1+dfsg-6) ...
Setting up libk5crypto3:amd64 (1.10.1+dfsg-6) ...
Setting up libkrb5-3:amd64 (1.10.1+dfsg-6) ...
Setting up libgssapi-krb5-2:amd64 (1.10.1+dfsg-6) ...
Setting up libonig2 (5.9.1-1) ...
Setting up libqdbm14 (1.8.78-2) ...
Setting up libmagic1:amd64 (1:5.14-2) ...
Setting up libbsd0:amd64 (0.5.2-1) ...
Setting up libedit2:amd64 (2.11-20080614-6) ...
Setting up php5-cli (5.5.0+dfsg-4) ...

Creating config file /etc/php5/cli/php.ini with new version
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
Setting up php-pear (5.5.0+dfsg-4) ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package php-net-smtp.
(Reading database ... 12523 files and directories currently installed.)
Unpacking php-net-smtp (from .../php-net-smtp_1.6.1-1_all.deb) ...
Selecting previously unselected package php5-gd.
Unpacking php5-gd (from .../php5-gd_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package php5-intl.
Unpacking php5-intl (from .../php5-intl_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package libmcrypt4.
Unpacking libmcrypt4 (from .../libmcrypt4_2.5.8-3.1_amd64.deb) ...
Selecting previously unselected package php5-mcrypt.
Unpacking php5-mcrypt (from .../php5-mcrypt_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package libaspell15.
Unpacking libaspell15 (from .../libaspell15_0.60.7~20110707-1_amd64.deb) ...
Selecting previously unselected package php5-pspell.
Unpacking php5-pspell (from .../php5-pspell_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package libjson-c2:amd64.
Unpacking libjson-c2:amd64 (from .../libjson-c2_0.11-2_amd64.deb) ...
Selecting previously unselected package php5-mysqlnd.
Unpacking php5-mysqlnd (from .../php5-mysqlnd_5.5.0+dfsg-4_amd64.deb) ...
Selecting previously unselected package dbconfig-common.
Unpacking dbconfig-common (from .../dbconfig-common_1.8.47+nmu1_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.627-1_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.023-1_amd64.deb) ...
Selecting previously unselected package libjs-jquery.
Unpacking libjs-jquery (from .../libjs-jquery_1.7.2+dfsg-2_all.deb) ...
Selecting previously unselected package libjs-jquery-mousewheel.
Unpacking libjs-jquery-mousewheel (from .../libjs-jquery-mousewheel_8-2_all.deb) ...
Selecting previously unselected package libjs-jquery-ui.
Unpacking libjs-jquery-ui (from .../libjs-jquery-ui_1.10.1+dfsg-1_all.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.31+dfsg-1_amd64.deb) ...
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.5.31+dfsg-1_all.deb) ...
Selecting previously unselected package php-auth.
Unpacking php-auth (from .../php-auth_1.6.2-1_all.deb) ...
Selecting previously unselected package php-mail-mimedecode.
Unpacking php-mail-mimedecode (from .../php-mail-mimedecode_1.5.5-1_all.deb) ...
Selecting previously unselected package php-mail-mime.
Unpacking php-mail-mime (from .../php-mail-mime_1.8.4-1_all.deb) ...
Selecting previously unselected package php-net-sieve.
Unpacking php-net-sieve (from .../php-net-sieve_1.3.2-3_all.deb) ...
Selecting previously unselected package php5-json.
Unpacking php5-json (from .../php5-json_0~git~1+c05ebf+dfsg-2_amd64.deb) ...
Selecting previously unselected package tinymce.
Unpacking tinymce (from .../tinymce_3.4.8+dfsg0-1_all.deb) ...
Selecting previously unselected package roundcube-mysql.
Unpacking roundcube-mysql (from .../roundcube-mysql_0.9.2-1_all.deb) ...
Selecting previously unselected package roundcube-core.
Unpacking roundcube-core (from .../roundcube-core_0.9.2-1_all.deb) ...
Selecting previously unselected package roundcube-plugins.
Unpacking roundcube-plugins (from .../roundcube-plugins_0.9.2-1_all.deb) ...
Selecting previously unselected package roundcube-plugins-extra.
Unpacking roundcube-plugins-extra (from .../roundcube-plugins-extra_0.7-20120110_all.deb) ...
dpkg: error processing /var/cache/apt/archives/roundcube-plugins-extra_0.7-20120110_all.deb (--unpack):
 trying to overwrite '/etc/roundcube/plugins/zipdownload/config.inc.php', which is also in package roundcube-plugins 0.9.2-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/roundcube-plugins-extra_0.7-20120110_all.deb
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):

  /etc/roundcube/plugins/zipdownload/config.inc.php
  /usr/share/roundcube/plugins/zipdownload/config.inc.php
  /usr/share/roundcube/plugins/zipdownload/config.inc.php.dist
  /usr/share/roundcube/plugins/zipdownload/localization/ca_ES.inc
  /usr/share/roundcube/plugins/zipdownload/localization/cs_CZ.inc
  /usr/share/roundcube/plugins/zipdownload/localization/da_DK.inc
  /usr/share/roundcube/plugins/zipdownload/localization/de_CH.inc
  /usr/share/roundcube/plugins/zipdownload/localization/de_DE.inc
  /usr/share/roundcube/plugins/zipdownload/localization/en_GB.inc
  /usr/share/roundcube/plugins/zipdownload/localization/en_US.inc
  /usr/share/roundcube/plugins/zipdownload/localization/es_AR.inc
  /usr/share/roundcube/plugins/zipdownload/localization/es_ES.inc
  /usr/share/roundcube/plugins/zipdownload/localization/et_EE.inc
  /usr/share/roundcube/plugins/zipdownload/localization/fr_FR.inc
  /usr/share/roundcube/plugins/zipdownload/localization/gl_ES.inc
  /usr/share/roundcube/plugins/zipdownload/localization/hu_HU.inc
  /usr/share/roundcube/plugins/zipdownload/localization/it_IT.inc
  /usr/share/roundcube/plugins/zipdownload/localization/nl_NL.inc
  /usr/share/roundcube/plugins/zipdownload/localization/pl_PL.inc
  /usr/share/roundcube/plugins/zipdownload/localization/pt_BR.inc
  /usr/share/roundcube/plugins/zipdownload/localization/ro_RO.inc
  /usr/share/roundcube/plugins/zipdownload/localization/ru_RU.inc
  /usr/share/roundcube/plugins/zipdownload/localization/tr_TR.inc
  /usr/share/roundcube/plugins/zipdownload/package.xml
  /usr/share/roundcube/plugins/zipdownload/zipdownload.js
  /usr/share/roundcube/plugins/zipdownload/zipdownload.php
  /var/lib/roundcube/plugins/zipdownload

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.

-Ralf.

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-roundcube-maintainers mailing list