[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#790920: kde-l10n-* and libkf5sysguard-data: error when trying to install together



Package: libkf5sysguard-data
Version: libkf5sysguard-data/4:5.3.2-1
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date: 2015-07-02
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:


Selecting previously unselected package gcc-5-base:amd64.
(Reading database ... 10900 files and directories currently installed.)
Preparing to unpack .../gcc-5-base_5.1.1-12_amd64.deb ...
Unpacking gcc-5-base:amd64 (5.1.1-12) ...
Setting up gcc-5-base:amd64 (5.1.1-12) ...
(Reading database ... 10907 files and directories currently installed.)
Preparing to unpack .../libstdc++6_5.1.1-12_amd64.deb ...
Unpacking libstdc++6:amd64 (5.1.1-12) over (4.8.2-19) ...
Setting up libstdc++6:amd64 (5.1.1-12) ...
Processing triggers for libc-bin (2.19-18) ...
Selecting previously unselected package libffi6:amd64.
(Reading database ... 10921 files and directories currently installed.)
Preparing to unpack .../libffi6_3.1-2+b2_amd64.deb ...
Unpacking libffi6:amd64 (3.1-2+b2) ...
Selecting previously unselected package libdlrestrictions1.
Preparing to unpack .../libdlrestrictions1_0.15.17_amd64.deb ...
Unpacking libdlrestrictions1 (0.15.17) ...
Selecting previously unselected package libfam0.
Preparing to unpack .../libfam0_2.7.0-17.1_amd64.deb ...
Unpacking libfam0 (2.7.0-17.1) ...
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack .../libdbus-1-3_1.8.18-1_amd64.deb ...
Unpacking libdbus-1-3:amd64 (1.8.18-1) ...
Selecting previously unselected package qtcore4-l10n.
Preparing to unpack .../qtcore4-l10n_4%3a4.8.7+dfsg-1_all.deb ...
Unpacking qtcore4-l10n (4:4.8.7+dfsg-1) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.44.1-1.1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.44.1-1.1) ...
Selecting previously unselected package libqtcore4:amd64.
Preparing to unpack .../libqtcore4_4%3a4.8.7+dfsg-1_amd64.deb ...
Unpacking libqtcore4:amd64 (4:4.8.7+dfsg-1) ...
Selecting previously unselected package libqt4-xml:amd64.
Preparing to unpack .../libqt4-xml_4%3a4.8.7+dfsg-1_amd64.deb ...
Unpacking libqt4-xml:amd64 (4:4.8.7+dfsg-1) ...
Selecting previously unselected package libqtdbus4:amd64.
Preparing to unpack .../libqtdbus4_4%3a4.8.7+dfsg-1_amd64.deb ...
Unpacking libqtdbus4:amd64 (4:4.8.7+dfsg-1) ...
Selecting previously unselected package qtchooser.
Preparing to unpack .../qtchooser_52-gae5eeef-2_amd64.deb ...
Unpacking qtchooser (52-gae5eeef-2) ...
Selecting previously unselected package qdbus.
Preparing to unpack .../qdbus_4%3a4.8.7+dfsg-1_amd64.deb ...
Unpacking qdbus (4:4.8.7+dfsg-1) ...
Selecting previously unselected package libqt4-dbus:amd64.
Preparing to unpack .../libqt4-dbus_4%3a4.8.7+dfsg-1_amd64.deb ...
Unpacking libqt4-dbus:amd64 (4:4.8.7+dfsg-1) ...
Selecting previously unselected package libqt4-network:amd64.
Preparing to unpack .../libqt4-network_4%3a4.8.7+dfsg-1_amd64.deb ...
Unpacking libqt4-network:amd64 (4:4.8.7+dfsg-1) ...
Selecting previously unselected package libkdecore5.
Preparing to unpack .../libkdecore5_4%3a4.14.2-5_amd64.deb ...
Unpacking libkdecore5 (4:4.14.2-5) ...
Selecting previously unselected package kde-l10n-ar.
Preparing to unpack .../kde-l10n-ar_4%3a4.14.0-1_all.deb ...
Unpacking kde-l10n-ar (4:4.14.0-1) ...
Selecting previously unselected package libkf5sysguard-data.
Preparing to unpack .../libkf5sysguard-data_4%3a5.3.2-1_all.deb ...
Unpacking libkf5sysguard-data (4:5.3.2-1) ...
dpkg: error processing archive /var/cache/apt/archives/libkf5sysguard-data_4%3a5.3.2-1_all.deb (--unpack):
 trying to overwrite '/usr/share/locale/ar/LC_MESSAGES/ksgrd.mo', which is also in package kde-l10n-ar 4:4.14.0-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libkf5sysguard-data_4%3a5.3.2-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
here show for the case of language ar:

  /usr/share/locale/ar/LC_MESSAGES/ksgrd.mo
  /usr/share/locale/ar/LC_MESSAGES/ksysguardlsofwidgets.mo
  /usr/share/locale/ar/LC_MESSAGES/processcore.mo
  /usr/share/locale/ar/LC_MESSAGES/processui.mo

-Ralf.

PS: for more information about the detection of file overwrite errors
of this kind see http://qa.debian.org/dose/file-overwrites.html.


Reply to: