[pkg-go] Bug#886845: golang-github-cloudfoundry-gosigar-dev: /usr/bin/stress is already shipped by the 'stress' package

Andreas Beckmann anbe at debian.org
Wed Jan 10 13:26:32 UTC 2018


Package: golang-github-cloudfoundry-gosigar-dev
Version: 0.0~git20171121.dcb1afc-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

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 golang-github-cloudfoundry-gosigar-dev.
  Preparing to unpack .../18-golang-github-cloudfoundry-gosigar-dev_0.0~git20171121.dcb1afc-1_all.deb ...
  Unpacking golang-github-cloudfoundry-gosigar-dev (0.0~git20171121.dcb1afc-1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-ZEB1BA/18-golang-github-cloudfoundry-gosigar-dev_0.0~git20171121.dcb1afc-1_all.deb (--unpack):
   trying to overwrite '/usr/bin/stress', which is also in package stress 1.0.4-2
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-ZEB1BA/18-golang-github-cloudfoundry-gosigar-dev_0.0~git20171121.dcb1afc-1_all.deb


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.

Cheers,

Andreas

PS: for more information about the detection of file overwrite errors
of this kind see https://qa.debian.org/dose/file-overwrites.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stress=1.0.4-2_golang-github-cloudfoundry-gosigar-dev=0.0~git20171121.dcb1afc-1.log.gz
Type: application/gzip
Size: 7801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20180110/b764171f/attachment.bin>


More information about the Pkg-go-maintainers mailing list