[Pkg-owncloud-maintainers] Bug#710594: php-sabre-vobject and php-horde-dav: error when trying to install together

Ralf Treinen treinen at free.fr
Sat Jun 1 08:32:40 UTC 2013


Package: php-horde-dav,php-sabre-vobject
Version: php-horde-dav/1.0.0~beta1-1
Version: php-sabre-vobject/2.0.7-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

Date: 2013-06-01
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!
  libcap2 libbsd0 libedit2 libkeyutils1 libkrb5support0 libk5crypto3 libkrb5-3
  libgssapi-krb5-2 libsasl2-2 libldap-2.4-2 libmagic1 libpcre3 libxml2
  libexpat1 liblua5.1-0 psmisc lsof ucf php5-common mime-support libapr1
  libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap apache2-bin libonig2
  libqdbm14 libapache2-mod-php5 libjs-jquery libjs-jquery-mobile
  libjs-prototype libjs-scriptaculous php5-cli php-pear php5 php-sabre-vobject
  php-horde-translation php-horde-exception php-horde-util php-horde-nls
  php-horde-date php-horde-alarm php-horde-auth php-horde-autoloader
  php-horde-browser php-horde-compress-fast php-horde-cache
  php-horde-stream-wrapper php-horde-support php-horde-cli php-horde-compress
  php-horde-constraint php-horde-injector php-horde-log php-horde-controller
  php-horde-stream-filter php-horde-mail php-horde-text-flowed php-horde-mime
  php-horde-icalendar php-horde-data php-horde-group php-horde-db
  php-horde-history php-horde-lock php-horde-logintasks php-horde-text-filter
  php-horde-mime-viewer php-horde-notification php-horde-perms php-horde-prefs
  php-horde-crypt-blowfish php-horde-secret php-horde-serialize
  php-horde-sessionhandler php-horde-url php-horde-share php-horde-template
  php-horde-token php-horde-text-filter-csstidy php-horde-view php-horde-core
  php-horde-stream php-horde-dav

Extracting templates from packages: 35%
Extracting templates from packages: 71%
Extracting templates from packages: 100%
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously unselected package libcap2:amd64.
(Reading database ... 10806 files and directories currently installed.)
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.1-1_amd64.deb) ...
Selecting previously unselected package libedit2:amd64.
Unpacking libedit2:amd64 (from .../libedit2_2.11-20080614-5_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-6_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 libpcre3:amd64.
Unpacking libpcre3:amd64 (from .../libpcre3_1%3a8.31-2_amd64.deb) ...
Selecting previously unselected package libxml2:amd64.
Unpacking libxml2:amd64 (from .../libxml2_2.8.0+dfsg1-7+nmu1_amd64.deb) ...
Selecting previously unselected package libexpat1:amd64.
Unpacking libexpat1:amd64 (from .../libexpat1_2.1.0-3_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 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~rc2+dfsg-1_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 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 apache2-bin.
Unpacking apache2-bin (from .../apache2-bin_2.4.4-5_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 libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.5.0~rc2+dfsg-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-mobile.
Unpacking libjs-jquery-mobile (from .../libjs-jquery-mobile_1.2.0+dfsg-1_all.deb) ...
Selecting previously unselected package libjs-prototype.
Unpacking libjs-prototype (from .../libjs-prototype_1.7.1-3_all.deb) ...
Selecting previously unselected package libjs-scriptaculous.
Unpacking libjs-scriptaculous (from .../libjs-scriptaculous_1.9.0-2_all.deb) ...
Selecting previously unselected package php5-cli.
Unpacking php5-cli (from .../php5-cli_5.5.0~rc2+dfsg-1_amd64.deb) ...
Selecting previously unselected package php-pear.
Unpacking php-pear (from .../php-pear_5.5.0~rc2+dfsg-1_all.deb) ...
Selecting previously unselected package php5.
Unpacking php5 (from .../php5_5.5.0~rc2+dfsg-1_all.deb) ...
Selecting previously unselected package php-sabre-vobject.
Unpacking php-sabre-vobject (from .../php-sabre-vobject_2.0.7-1_all.deb) ...
Selecting previously unselected package php-horde-translation.
Unpacking php-horde-translation (from .../php-horde-translation_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-exception.
Unpacking php-horde-exception (from .../php-horde-exception_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-util.
Unpacking php-horde-util (from .../php-horde-util_2.2.2-1_all.deb) ...
Selecting previously unselected package php-horde-nls.
Unpacking php-horde-nls (from .../php-horde-nls_2.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-date.
Unpacking php-horde-date (from .../php-horde-date_2.0.5-1_all.deb) ...
Selecting previously unselected package php-horde-alarm.
Unpacking php-horde-alarm (from .../php-horde-alarm_2.0.4-1_all.deb) ...
Selecting previously unselected package php-horde-auth.
Unpacking php-horde-auth (from .../php-horde-auth_2.0.4-1_all.deb) ...
Selecting previously unselected package php-horde-autoloader.
Unpacking php-horde-autoloader (from .../php-horde-autoloader_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-browser.
Unpacking php-horde-browser (from .../php-horde-browser_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-compress-fast.
Unpacking php-horde-compress-fast (from .../php-horde-compress-fast_1.0.1-1_all.deb) ...
Selecting previously unselected package php-horde-cache.
Unpacking php-horde-cache (from .../php-horde-cache_2.1.0-1_all.deb) ...
Selecting previously unselected package php-horde-stream-wrapper.
Unpacking php-horde-stream-wrapper (from .../php-horde-stream-wrapper_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-support.
Unpacking php-horde-support (from .../php-horde-support_2.1.0-1_all.deb) ...
Selecting previously unselected package php-horde-cli.
Unpacking php-horde-cli (from .../php-horde-cli_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-compress.
Unpacking php-horde-compress (from .../php-horde-compress_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-constraint.
Unpacking php-horde-constraint (from .../php-horde-constraint_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-injector.
Unpacking php-horde-injector (from .../php-horde-injector_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-log.
Unpacking php-horde-log (from .../php-horde-log_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-controller.
Unpacking php-horde-controller (from .../php-horde-controller_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-stream-filter.
Unpacking php-horde-stream-filter (from .../php-horde-stream-filter_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-mail.
Unpacking php-horde-mail (from .../php-horde-mail_2.0.5-1_all.deb) ...
Selecting previously unselected package php-horde-text-flowed.
Unpacking php-horde-text-flowed (from .../php-horde-text-flowed_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-mime.
Unpacking php-horde-mime (from .../php-horde-mime_2.1.1-1_all.deb) ...
Selecting previously unselected package php-horde-icalendar.
Unpacking php-horde-icalendar (from .../php-horde-icalendar_2.0.5-1_all.deb) ...
Selecting previously unselected package php-horde-data.
Unpacking php-horde-data (from .../php-horde-data_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-group.
Unpacking php-horde-group (from .../php-horde-group_2.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-db.
Unpacking php-horde-db (from .../php-horde-db_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-history.
Unpacking php-horde-history (from .../php-horde-history_2.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-lock.
Unpacking php-horde-lock (from .../php-horde-lock_2.1.0-1_all.deb) ...
Selecting previously unselected package php-horde-logintasks.
Unpacking php-horde-logintasks (from .../php-horde-logintasks_2.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-text-filter.
Unpacking php-horde-text-filter (from .../php-horde-text-filter_2.1.2+debian0-1_all.deb) ...
Selecting previously unselected package php-horde-mime-viewer.
Unpacking php-horde-mime-viewer (from .../php-horde-mime-viewer_2.0.4-1_all.deb) ...
Selecting previously unselected package php-horde-notification.
Unpacking php-horde-notification (from .../php-horde-notification_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-perms.
Unpacking php-horde-perms (from .../php-horde-perms_2.1.0-1_all.deb) ...
Selecting previously unselected package php-horde-prefs.
Unpacking php-horde-prefs (from .../php-horde-prefs_2.4.1-1_all.deb) ...
Selecting previously unselected package php-horde-crypt-blowfish.
Unpacking php-horde-crypt-blowfish (from .../php-horde-crypt-blowfish_1.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-secret.
Unpacking php-horde-secret (from .../php-horde-secret_2.0.2-2_all.deb) ...
Selecting previously unselected package php-horde-serialize.
Unpacking php-horde-serialize (from .../php-horde-serialize_2.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-sessionhandler.
Unpacking php-horde-sessionhandler (from .../php-horde-sessionhandler_2.1.0-1_all.deb) ...
Selecting previously unselected package php-horde-url.
Unpacking php-horde-url (from .../php-horde-url_2.2.0-1_all.deb) ...
Selecting previously unselected package php-horde-share.
Unpacking php-horde-share (from .../php-horde-share_2.0.3-1_all.deb) ...
Selecting previously unselected package php-horde-template.
Unpacking php-horde-template (from .../php-horde-template_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-token.
Unpacking php-horde-token (from .../php-horde-token_2.0.4-1_all.deb) ...
Selecting previously unselected package php-horde-text-filter-csstidy.
Unpacking php-horde-text-filter-csstidy (from .../php-horde-text-filter-csstidy_2.0.1-2_all.deb) ...
Selecting previously unselected package php-horde-view.
Unpacking php-horde-view (from .../php-horde-view_2.0.2-1_all.deb) ...
Selecting previously unselected package php-horde-core.
Unpacking php-horde-core (from .../php-horde-core_2.4.3-1_all.deb) ...
Selecting previously unselected package php-horde-stream.
Unpacking php-horde-stream (from .../php-horde-stream_1.2.0-3_all.deb) ...
Selecting previously unselected package php-horde-dav.
Unpacking php-horde-dav (from .../php-horde-dav_1.0.0~beta1-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/php-horde-dav_1.0.0~beta1-1_all.deb (--unpack):
 trying to overwrite '/usr/share/php/Sabre/VObject/Reader.php', which is also in package php-sabre-vobject 2.0.7-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/php-horde-dav_1.0.0~beta1-1_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):

  /usr/share/php/Sabre/VObject/Component.php
  /usr/share/php/Sabre/VObject/Component/VAlarm.php
  /usr/share/php/Sabre/VObject/Component/VCalendar.php
  /usr/share/php/Sabre/VObject/Component/VCard.php
  /usr/share/php/Sabre/VObject/Component/VEvent.php
  /usr/share/php/Sabre/VObject/Component/VFreeBusy.php
  /usr/share/php/Sabre/VObject/Component/VJournal.php
  /usr/share/php/Sabre/VObject/Component/VTodo.php
  /usr/share/php/Sabre/VObject/DateTimeParser.php
  /usr/share/php/Sabre/VObject/ElementList.php
  /usr/share/php/Sabre/VObject/FreeBusyGenerator.php
  /usr/share/php/Sabre/VObject/Node.php
  /usr/share/php/Sabre/VObject/Parameter.php
  /usr/share/php/Sabre/VObject/ParseException.php
  /usr/share/php/Sabre/VObject/Property.php
  /usr/share/php/Sabre/VObject/Property/Compound.php
  /usr/share/php/Sabre/VObject/Property/DateTime.php
  /usr/share/php/Sabre/VObject/Property/MultiDateTime.php
  /usr/share/php/Sabre/VObject/Reader.php
  /usr/share/php/Sabre/VObject/RecurrenceIterator.php
  /usr/share/php/Sabre/VObject/Splitter/ICalendar.php
  /usr/share/php/Sabre/VObject/Splitter/SplitterInterface.php
  /usr/share/php/Sabre/VObject/Splitter/VCard.php
  /usr/share/php/Sabre/VObject/StringUtil.php
  /usr/share/php/Sabre/VObject/TimeZoneUtil.php
  /usr/share/php/Sabre/VObject/Version.php
  /usr/share/php/Sabre/VObject/includes.php

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