[pkg-go] Bug#803130: libdevel-cover-perl and golang-golang-x-tools: error when trying to install together
Ralf Treinen
treinen at free.fr
Tue Oct 27 08:28:21 UTC 2015
Package: golang-golang-x-tools,libdevel-cover-perl
Version: golang-golang-x-tools/1:0.0~git20151026.0.0f9d71c-1
Version: libdevel-cover-perl/1.21-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Date: 2015-10-27
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:
(Reading database ... 10923 files and directories currently installed.)
Preparing to unpack .../perl_5.20.2-6_amd64.deb ...
Unpacking perl (5.20.2-6) over (5.18.2-2) ...
Preparing to unpack .../libtext-charwidth-perl_0.04-7+b3_amd64.deb ...
Unpacking libtext-charwidth-perl (0.04-7+b3) over (0.04-7+b2) ...
Preparing to unpack .../perl-modules_5.20.2-6_all.deb ...
Unpacking perl-modules (5.20.2-6) over (5.18.2-7) ...
Preparing to unpack .../perl-base_5.20.2-6_amd64.deb ...
Unpacking perl-base (5.20.2-6) over (5.18.2-2) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up perl-base (5.20.2-6) ...
(Reading database ... 10273 files and directories currently installed.)
Preparing to unpack .../liblocale-gettext-perl_1.07-1_amd64.deb ...
Unpacking liblocale-gettext-perl (1.07-1) over (1.05-7+b2) ...
Preparing to unpack .../libtext-iconv-perl_1.7-5+b2_amd64.deb ...
Unpacking libtext-iconv-perl (1.7-5+b2) over (1.7-5+b1) ...
Selecting previously unselected package libdb5.3:amd64.
Preparing to unpack .../libdb5.3_5.3.28-11_amd64.deb ...
Unpacking libdb5.3:amd64 (5.3.28-11) ...
Selecting previously unselected package libhtml-tagset-perl.
Preparing to unpack .../libhtml-tagset-perl_3.20-2_all.deb ...
Unpacking libhtml-tagset-perl (3.20-2) ...
Selecting previously unselected package liburi-perl.
Preparing to unpack .../liburi-perl_1.69-1_all.deb ...
Unpacking liburi-perl (1.69-1) ...
Selecting previously unselected package libhtml-parser-perl.
Preparing to unpack .../libhtml-parser-perl_3.71-2_amd64.deb ...
Unpacking libhtml-parser-perl (3.71-2) ...
Selecting previously unselected package libdevel-cover-perl.
Preparing to unpack .../libdevel-cover-perl_1.21-1_amd64.deb ...
Unpacking libdevel-cover-perl (1.21-1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ...
Unpacking libjs-jquery (1.11.3+dfsg-4) ...
Selecting previously unselected package libjs-jquery-ui.
Preparing to unpack .../libjs-jquery-ui_1.10.1+dfsg-1_all.deb ...
Unpacking libjs-jquery-ui (1.10.1+dfsg-1) ...
Selecting previously unselected package golang-golang-x-tools-dev.
Preparing to unpack .../golang-golang-x-tools-dev_1%3a0.0~git20151026.0.0f9d71c-1_all.deb ...
Unpacking golang-golang-x-tools-dev (1:0.0~git20151026.0.0f9d71c-1) ...
Selecting previously unselected package golang-golang-x-tools.
Preparing to unpack .../golang-golang-x-tools_1%3a0.0~git20151026.0.0f9d71c-1_amd64.deb ...
Unpacking golang-golang-x-tools (1:0.0~git20151026.0.0f9d71c-1) ...
dpkg: error processing archive /var/cache/apt/archives/golang-golang-x-tools_1%3a0.0~git20151026.0.0f9d71c-1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/cover', which is also in package libdevel-cover-perl 1.21-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.4-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/golang-golang-x-tools_1%3a0.0~git20151026.0.0f9d71c-1_amd64.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/bin/cover
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.
More information about the Pkg-go-maintainers
mailing list