[Debian-astro-maintainers] Bug#793931: glueviz: /usr/lib/python2.7/dist-packages/glue/__init__.py collides with package glue-sprite

Andreas Beckmann anbe at debian.org
Wed Jul 29 02:00:20 UTC 2015


Package: glueviz
Version: 0.4.0-1
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Control: affects -1 + glue-sprite

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 glueviz.
  Preparing to unpack .../glueviz_0.4.0-1_all.deb ...
  Unpacking glueviz (0.4.0-1) ...
  dpkg: error processing archive /var/cache/apt/archives/glueviz_0.4.0-1_all.deb (--unpack):
   trying to overwrite '/usr/lib/python2.7/dist-packages/glue/__init__.py', which is also in package glue-sprite 0.9.4-1
  dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  Processing triggers for systemd (215-17+deb8u1) ...
  Processing triggers for mime-support (3.58) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/glueviz_0.4.0-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.

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/lib/python2.7/dist-packages/glue/__init__.py


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: glue-sprite=0.9.4-1_glueviz=0.4.0-1.log.gz
Type: application/gzip
Size: 38559 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-astro-maintainers/attachments/20150729/16eee0c7/attachment-0001.bin>


More information about the Debian-astro-maintainers mailing list