Package: libfstrcmp-dev
Version: 0.5.D001-1
Severity: serious
User: trei...@debian.org
Usertags: edos-file-overwrite

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

Hi,

the manpages were moved around again in the last upload, so we are
going for the next iteration ...

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 libfstrcmp-dev.
  Unpacking libfstrcmp-dev (from .../libfstrcmp-dev_0.5.D001-1_amd64.deb) ...
  dpkg: error processing 
/var/cache/apt/archives/libfstrcmp-dev_0.5.D001-1_amd64.deb (--unpack):
   trying to overwrite '/usr/share/man/man3/fwcscmpi.3.gz', which is also in 
package fstrcmp 0.4.D001-1


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/man/man3/fmemcmp.3.gz
        usr/share/man/man3/fmemcmpi.3.gz
        usr/share/man/man3/fstrcasecmp.3.gz
        usr/share/man/man3/fstrcasecmpi.3.gz
        usr/share/man/man3/fstrcmp.3.gz
        usr/share/man/man3/fstrcmpi.3.gz
        usr/share/man/man3/fstrcoll.3.gz
        usr/share/man/man3/fstrcolli.3.gz
        usr/share/man/man3/fwcscmp.3.gz
        usr/share/man/man3/fwcscmpi.3.gz


The following relationships are currently defined:

  Package:   libfstrcmp-dev
  Conflicts: n/a
  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:  libfstrcmp-dev
  Breaks:   fstrcmp (<< 0.5)
  Replaces: fstrcmp (<< 0.5)

The B+R that were added to fstrcmp in the last upload can probably
be dropped again since the manpages are back in libfstrcmp-dev.


Cheers,

Andreas

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

Attachment: fstrcmp=0.4.D001-1_libfstrcmp-dev=0.5.D001-1.log.gz
Description: GNU Zip compressed data

Reply via email to