Package: mythes-it
Version: 2.0.7.gh.deb1-2
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 openoffice.org-thesaurus-it.
  Unpacking openoffice.org-thesaurus-it (from 
.../openoffice.org-thesaurus-it_2.0.7.gh.deb1-1.1_all.deb) ...

  Setting up openoffice.org-thesaurus-it (2.0.7.gh.deb1-1.1) ...

  Selecting previously deselected package mythes-it.
  Unpacking mythes-it (from .../mythes-it_2.0.7.gh.deb1-4_all.deb) ...
  dpkg: error processing 
/var/cache/apt/archives/mythes-it_2.0.7.gh.deb1-4_all.deb (--unpack):
   trying to overwrite '/usr/share/mythes/th_it_IT_v2.dat', which is also in 
package openoffice.org-thesaurus-it 2.0.7.gh.deb1-1.1
  dpkg-deb: subprocess paste killed by signal (Broken pipe)


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/mythes/th_it_IT_v2.dat
        usr/share/mythes/th_it_IT_v2.idx


openoffice.org-thesaurus-it was renamed to mythes-it (in 2.0.7.gh.deb1-2)
without adding proper Breaks/Replaces.
src:openoffice.org ships an empty transitional package with an epoch 1:*
version.

The following relationships are currently defined:

  Package:   mythes-it
  Conflicts: openoffice.org (<< 1.9)
  Breaks:    n/a
  Replaces:  n/a

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:   mythes-it
  Breaks:    openoffice.org-thesaurus-it (<< 1:0)
  Replaces:  openoffice.org-thesaurus-it (<< 1:0)


Cheers,

Andreas

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

Attachment: openoffice.org-thesaurus-it=2.0.7.gh.deb1-1.1_mythes-it=2.0.7.gh.deb1-4.log.gz
Description: GNU Zip compressed data

Reply via email to