[Pkg-freevo-maint] Bug#694271: freevo: missing Breaks+Replaces: freevo-doc (<< 1.9.2b2)

Andreas Beckmann debian at abeckmann.de
Sat Nov 24 22:23:53 UTC 2012

Package: freevo
Version: 1.9.2b2-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite

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


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 freevo-doc.
  (Reading database ... 6286 files and directories currently installed.)
  Unpacking freevo-doc (from .../freevo-doc_1.9.0-10_all.deb) ...
  Setting up freevo-doc (1.9.0-10) ...

  Selecting previously deselected package freevo.
  Unpacking freevo (from .../freevo_1.9.2b2-4_all.deb) ...
  dpkg: error processing /var/cache/apt/archives/freevo_1.9.2b2-4_all.deb (--unpack):
   trying to overwrite '/usr/share/doc/freevo/TODO', which is also in package freevo-doc 1.9.0-10

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):


In 1.9.2b2-1 some documentation files were moved from freevo-doc to
freevo, but no Breaks+Replaces were added.

The following relationships are currently defined:

  Package: freevo
  Conflicts: n/a
  Breaks:    n/a
  Replaces:  n/a

The following relationships should be added for a clean takeover of
these files

  Package:  freevo
  Breaks:   freevo-doc (<< 1.9.2b2)
  Replaces: freevo-doc (<< 1.9.2b2)



PS: for more information about the detection of file overwrite errors
of this kind see http://edos.debian.net/file-overwrites/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freevo-doc=1.9.0-10_freevo=1.9.2b2-4.log.gz
Type: application/x-gzip
Size: 23713 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-freevo-maint/attachments/20121124/930ceabc/attachment-0001.bin>

More information about the Pkg-freevo-maint mailing list