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


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

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.



PS: for more information about the detection of file overwrite errors
of this kind see

Attachment: stress=1.0.4-2_golang-github-cloudfoundry-gosigar-dev=0.0~git20171121.dcb1afc-1.log.gz
Description: application/gzip

Pkg-go-maintainers mailing list

Reply via email to