Package: libgmerlin-dev
Version: 1.2.0~dfsg-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 gmerlin-data.
  (Reading database ... 6286 files and directories currently installed.)
  Unpacking gmerlin-data (from .../gmerlin-data_0.4.3-2_all.deb) ...
  Setting up gmerlin-data (0.4.3-2) ...

  Selecting previously deselected package libgmerlin-dev.
  Unpacking libgmerlin-dev (from .../libgmerlin-dev_1.2.0~dfsg-2+b1_amd64.deb) 
...
  dpkg: error processing 
/var/cache/apt/archives/libgmerlin-dev_1.2.0~dfsg-2+b1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/gmerlin/plugin.sym', which is also in 
package gmerlin-data 0.4.3-2


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/gmerlin/plugin.sym


That file was recently moved around:

  gmerlin (1.0.0~dfsg-13) unstable; urgency=low
   * Move /usr/share/gmerlin/plugin.sym back into libgmerlin-dev. (LP: #935120)


The following relationships are currently defined:

  Package:   libgmerlin-dev
  Conflicts: n/a
  Breaks:    libgmerlin-common (<= 1.0.0~dfsg-12)
  Replaces:  libgmerlin-common (<= 1.0.0~dfsg-12)

Maybe libgmerlin-common was the wrong package ...

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:  libgmerlin-dev
  Breaks:   gmerlin-data (<< 1.0.0~dfsg-13)
  Replaces: gmerlin-data (<< 1.0.0~dfsg-13)


Cheers,

Andreas

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

Attachment: gmerlin-data=0.4.3-2_libgmerlin-dev=1.2.0~dfsg-2+b1.log.gz
Description: GNU Zip compressed data

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to