[Python-modules-team] Bug#694289: python-gdata-doc: missing Breaks+Replaces: python-gdata (<< 2.0.14-2)
Dmitry Shachnev
mitya57 at gmail.com
Sun Nov 25 11:08:41 UTC 2012
Thanks for reporting this. I've fixed this in both unstable and
experimental branches now.
Unfortunately, I don't have DM tag set for the package, so I can't
upload it. It would be good if you or someone from our team sponsored
it.
I've uploaded the package to mentors.debian.net:
http://mentors.debian.net/package/python-gdata
http://mentors.debian.net/debian/pool/main/p/python-gdata/python-gdata_2.0.17-1+wheezy1.dsc
(version 2.0.17-2 is already used for experimental package, so I used
-1+wheezy1 suffix here).
Cheers,
--
Dmitry Shachnev
On Sun, Nov 25, 2012 at 6:07 AM, Andreas Beckmann <debian at abeckmann.de> wrote:
> Package: python-gdata-doc
> Version: 2.0.14-2
> Severity: serious
> User: treinen at 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 python-gdata.
> Unpacking python-gdata (from .../python-gdata_2.0.8-1.1_all.deb) ...
>
> Setting up python-gdata (2.0.8-1.1) ...
> Processing triggers for python-support ...
>
> Selecting previously deselected package python-gdata-doc.
> (Reading database ... 7547 files and directories currently installed.)
> Unpacking python-gdata-doc (from .../python-gdata-doc_2.0.17-1_all.deb) ...
> dpkg: error processing /var/cache/apt/archives/python-gdata-doc_2.0.17-1_all.deb (--unpack):
> trying to overwrite '/usr/share/doc-base/python-gdata', which is also in package python-gdata 2.0.8-1.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/doc-base/python-gdata
>
> The documentation was split out recently:
>
> python-gdata (2.0.14-2) unstable; urgency=low
> * Split out the documentation and examples in a separate package
>
>
> The following relationships are currently defined:
>
> Package: python-gdata-doc
> 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: python-gdata-doc
> Breaks: python-gdata (<< 2.0.14-2)
> Replaces: python-gdata (<< 2.0.14-2)
>
>
> Cheers,
>
> Andreas
>
> PS: for more information about the detection of file overwrite errors
> of this kind see http://edos.debian.net/file-overwrites/.
More information about the Python-modules-team
mailing list