Package: globus-common-progs
Version: 14.6-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

Architecture: amd64
Distribution: squeeze->wheezy (partial) upgrade

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 deselected package grid-packaging-tools.
  Unpacking grid-packaging-tools (from 
.../grid-packaging-tools_3.2globus2-5_all.deb) ...

  Setting up grid-packaging-tools (3.2globus2-5) ...

  Selecting previously deselected package globus-common-progs.
  Unpacking globus-common-progs (from .../globus-common-progs_14.6-1_amd64.deb) 
...
  dpkg: error processing 
/var/cache/apt/archives/globus-common-progs_14.6-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/globus/config.guess', which is also in 
package grid-packaging-tools 3.2globus2-5


This is a serious bug as it makes installation/upgrade fail, and
violates sections 7.6.1 and 10.1 of the policy.

As this problem can be demonstrated during partial upgrades from squeeze
to wheezy (but not within squeeze or wheezy itself), this indicates a
missing or insufficiently versioned Replaces+Breaks relationship.
But since this particular upgrade ordering is not forbidden by any
dependency relationship, it is possible that apt (or $PACKAGE_MANAGER)
will use this erroneus path on squeeze->wheezy upgrades.

Here is a list of files that are known to be shared by both packages
(according to the Contents files for squeeze and wheezy on amd64, which
may be slightly out of sync):

        usr/share/globus/config.guess

In grid-packaging-tools 3.5-1 this was renamed to
usr/share/globus/gpt/config.guess, removing the file conflict.


The following relationships are currently defined:

  Package:   globus-common-progs
  Conflicts: globus-openssl-progs (<< 6)
  Breaks:    n/a
  Replaces:  globus-openssl-progs (<< 6)

The following relationships should be added for a clean takeover of
these files
(http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces):

  Package:  globus-common-progs
  Breaks:   grid-packaging-tools (<< 3.5)
  Replaces: grid-packaging-tools (<< 3.5)


Cheers,

Andreas

PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to