Bug#694286: fstrcmp: missing Breaks+Replaces: libfstrcmp-dev (<< 0.4)
Followup-For: Bug #694286 Hi, I'm attaching a proposed patch for a t-p-u upload. Andreas diff -Nru fstrcmp-0.4.D001/debian/changelog fstrcmp-0.4.D001/debian/changelog --- fstrcmp-0.4.D001/debian/changelog 2011-10-06 01:38:39.0 +0200 +++ fstrcmp-0.4.D001/debian/changelog 2013-01-29 08:26:41.0 +0100 @@ -1,3 +1,10 @@ +fstrcmp (0.4.D001-1.1) UNRELEASED; urgency=low + + * Non-maintainer upload. + * fstrcmp: Add Breaks/Replaces: libfstrcmp-dev (<< 0.4). (Closes: #694286) + + -- Andreas Beckmann Tue, 29 Jan 2013 08:22:38 +0100 + fstrcmp (0.4.D001-1) unstable; urgency=low * This change set prepares the fstrcmp project for the next public release. diff -Nru fstrcmp-0.4.D001/debian/control fstrcmp-0.4.D001/debian/control --- fstrcmp-0.4.D001/debian/control 2011-10-06 01:38:39.0 +0200 +++ fstrcmp-0.4.D001/debian/control 2013-01-29 08:26:39.0 +0100 @@ -12,6 +12,8 @@ Description: fuzzy comparison of strings This package provides a command to make fuzzy string comparisons. Depends: ${misc:Depends}, ${shlibs:Depends}, libfstrcmp0 +Breaks: libfstrcmp-dev (<< 0.4) +Replaces: libfstrcmp-dev (<< 0.4) Package: libfstrcmp0 Section: libs
Bug#694286: fstrcmp: missing Breaks+Replaces: libfstrcmp-dev (<< 0.4)
Hi, I wonder why the man pages for library functions were moved from the -dev package to the utility package at all? It seems stange for a package with the description "[...] provides a command to make fuzzy string comparisons" to include the library documentation. Sadly the changelog isn't really informative, though #694939 suggests the man pages were moved back and forth multiple times... Ansgar -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#694286: fstrcmp: missing Breaks+Replaces: libfstrcmp-dev (<< 0.4)
Package: fstrcmp Version: 0.4.D001-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 libfstrcmp0. (Reading database ... 6286 files and directories currently installed.) Unpacking libfstrcmp0 (from .../libfstrcmp0_0.3.D001-1_amd64.deb) ... Selecting previously deselected package libfstrcmp-dev. Unpacking libfstrcmp-dev (from .../libfstrcmp-dev_0.3.D001-1_amd64.deb) ... Setting up libfstrcmp0 (0.3.D001-1) ... Setting up libfstrcmp-dev (0.3.D001-1) ... Selecting previously deselected package fstrcmp. (Reading database ... 6369 files and directories currently installed.) Unpacking fstrcmp (from .../fstrcmp_0.4.D001-1_amd64.deb) ... dpkg: error processing /var/cache/apt/archives/fstrcmp_0.4.D001-1_amd64.deb (--unpack): trying to overwrite '/usr/share/man/man3/fstrcoll.3.gz', which is also in package libfstrcmp-dev 0.3.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: fstrcmp 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: fstrcmp Breaks: libfstrcmp-dev (<< 0.4) Replaces: libfstrcmp-dev (<< 0.4) Cheers, Andreas PS: for more information about the detection of file overwrite errors of this kind see http://edos.debian.net/file-overwrites/. libfstrcmp-dev=0.3.D001-1_fstrcmp=0.4.D001-1.log.gz Description: GNU Zip compressed data