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

Bug#864927: kde-l10n-sr and plasma-desktop-data: error when trying to install together



Package: plasma-desktop-data,kde-l10n-sr
Version: plasma-desktop-data/4:5.8.7.1-1
Version: kde-l10n-sr/4:16.04.3-1
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Date: 2017-06-17
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 liblz4-1:amd64.
(Reading database ... 11003 files and directories currently installed.)
Preparing to unpack .../liblz4-1_0.0~r131-2+b1_amd64.deb ...
Unpacking liblz4-1:amd64 (0.0~r131-2+b1) ...
Processing triggers for libc-bin (2.24-11) ...
Setting up liblz4-1:amd64 (0.0~r131-2+b1) ...
Processing triggers for libc-bin (2.24-11) ...
Selecting previously unselected package gcc-6-base:amd64.
(Reading database ... 11009 files and directories currently installed.)
Preparing to unpack .../gcc-6-base_6.3.0-18_amd64.deb ...
Unpacking gcc-6-base:amd64 (6.3.0-18) ...
Setting up gcc-6-base:amd64 (6.3.0-18) ...
(Reading database ... 11016 files and directories currently installed.)
Preparing to unpack .../aptitude_0.8.7-1_amd64.deb ...
Unpacking aptitude (0.8.7-1) over (0.6.10-1) ...
Preparing to unpack .../aptitude-common_0.8.7-1_all.deb ...
Unpacking aptitude-common (0.8.7-1) over (0.6.10-1) ...
Selecting previously unselected package libboost-system1.62.0:amd64.
Preparing to unpack .../libboost-system1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-system1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-filesystem1.62.0:amd64.
Preparing to unpack .../libboost-filesystem1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-filesystem1.62.0:amd64 (1.62.0+dfsg-4) ...
Selecting previously unselected package libboost-iostreams1.62.0:amd64.
Preparing to unpack .../libboost-iostreams1.62.0_1.62.0+dfsg-4_amd64.deb ...
Unpacking libboost-iostreams1.62.0:amd64 (1.62.0+dfsg-4) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for libc-bin (2.24-11) ...
(Reading database ... 11028 files and directories currently installed.)
Removing libcwidget3:amd64 (0.5.17-1) ...
Removing libsigc++-2.0-0c2a:amd64 (2.4.1-1) ...
Selecting previously unselected package libsigc++-2.0-0v5:amd64.
(Reading database ... 10975 files and directories currently installed.)
Preparing to unpack .../libsigc++-2.0-0v5_2.10.0-1_amd64.deb ...
Unpacking libsigc++-2.0-0v5:amd64 (2.10.0-1) ...
Selecting previously unselected package libcwidget3v5:amd64.
Preparing to unpack .../libcwidget3v5_0.5.17-4+b1_amd64.deb ...
Unpacking libcwidget3v5:amd64 (0.5.17-4+b1) ...
Selecting previously unselected package libxapian30:amd64.
Preparing to unpack .../libxapian30_1.4.3-2_amd64.deb ...
Unpacking libxapian30:amd64 (1.4.3-2) ...
Preparing to unpack .../libstdc++6_6.3.0-18_amd64.deb ...
Unpacking libstdc++6:amd64 (6.3.0-18) over (4.8.2-19) ...
Processing triggers for libc-bin (2.24-11) ...
Setting up libstdc++6:amd64 (6.3.0-18) ...
Processing triggers for libc-bin (2.24-11) ...
Selecting previously unselected package libapt-inst2.0:amd64.
(Reading database ... 11050 files and directories currently installed.)
Preparing to unpack .../libapt-inst2.0_1.4.6_amd64.deb ...
Unpacking libapt-inst2.0:amd64 (1.4.6) ...
Selecting previously unselected package libdb5.3:amd64.
Preparing to unpack .../libdb5.3_5.3.28-12+b1_amd64.deb ...
Unpacking libdb5.3:amd64 (5.3.28-12+b1) ...
Preparing to unpack .../apt-utils_1.4.6_amd64.deb ...
Unpacking apt-utils (1.4.6) over (0.9.15.5) ...
Preparing to unpack .../archives/apt_1.4.6_amd64.deb ...
Unpacking apt (1.4.6) over (1.0.4) ...
Selecting previously unselected package libapt-pkg5.0:amd64.
Preparing to unpack .../libapt-pkg5.0_1.4.6_amd64.deb ...
Unpacking libapt-pkg5.0:amd64 (1.4.6) ...
Processing triggers for libc-bin (2.24-11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libapt-pkg5.0:amd64 (1.4.6) ...
Processing triggers for libc-bin (2.24-11) ...
Selecting previously unselected package libdouble-conversion1:amd64.
(Reading database ... 11169 files and directories currently installed.)
Preparing to unpack .../libdouble-conversion1_2.0.1-4_amd64.deb ...
Unpacking libdouble-conversion1:amd64 (2.0.1-4) ...
Selecting previously unselected package libffi6:amd64.
Preparing to unpack .../libffi6_3.2.1-6_amd64.deb ...
Unpacking libffi6:amd64 (3.2.1-6) ...
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack .../libglib2.0-0_2.50.3-2_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.50.3-2) ...
Selecting previously unselected package libicu57:amd64.
Preparing to unpack .../libicu57_57.1-6_amd64.deb ...
Unpacking libicu57:amd64 (57.1-6) ...
Selecting previously unselected package libpcre16-3:amd64.
Preparing to unpack .../libpcre16-3_2%3a8.39-3_amd64.deb ...
Unpacking libpcre16-3:amd64 (2:8.39-3) ...
Selecting previously unselected package libqt5core5a:amd64.
Preparing to unpack .../libqt5core5a_5.7.1+dfsg-3+b1_amd64.deb ...
Unpacking libqt5core5a:amd64 (5.7.1+dfsg-3+b1) ...
Selecting previously unselected package libqt5script5:amd64.
Preparing to unpack .../libqt5script5_5.7.1~20161021+dfsg-2_amd64.deb ...
Unpacking libqt5script5:amd64 (5.7.1~20161021+dfsg-2) ...
Selecting previously unselected package libkf5i18n-data.
Preparing to unpack .../libkf5i18n-data_5.28.0-2_all.deb ...
Unpacking libkf5i18n-data (5.28.0-2) ...
Selecting previously unselected package libkf5i18n5:amd64.
Preparing to unpack .../libkf5i18n5_5.28.0-2_amd64.deb ...
Unpacking libkf5i18n5:amd64 (5.28.0-2) ...
Selecting previously unselected package kde-l10n-sr.
Preparing to unpack .../kde-l10n-sr_4%3a16.04.3-1_all.deb ...
Unpacking kde-l10n-sr (4:16.04.3-1) ...
Selecting previously unselected package plasma-desktop-data.
Preparing to unpack .../plasma-desktop-data_4%3a5.8.7.1-1_all.deb ...
Unpacking plasma-desktop-data (4:5.8.7.1-1) ...
dpkg: error processing archive /var/cache/apt/archives/plasma-desktop-data_4%3a5.8.7.1-1_all.deb (--unpack):
 trying to overwrite '/usr/share/locale/sr/LC_SCRIPTS/kfontinst/kfontinst.js', which is also in package kde-l10n-sr 4:16.04.3-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.24-11) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/plasma-desktop-data_4%3a5.8.7.1-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Error calling setupterm: 0
E: cow-shell unlink .ilist: No such file or directory


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/locale/sr/LC_SCRIPTS/kfontinst/kfontinst.js
  /usr/share/locale/sr@ijekavian/LC_SCRIPTS/kfontinst/kfontinst.js
  /usr/share/locale/sr@ijekavianlatin/LC_SCRIPTS/kfontinst/kfontinst.js
  /usr/share/locale/sr@latin/LC_SCRIPTS/kfontinst/kfontinst.js

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://qa.debian.org/dose/file-overwrites.html.


Reply to: