Bug#694359: libcroco-tools: missing Breaks+Replaces: libcroco3 (<< 0.6.2-2)
debian at abeckmann.de
Sun Nov 25 20:02:27 UTC 2012
User: treinen at debian.org
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 libcroco3.
Unpacking libcroco3 (from .../libcroco3_0.6.2-1_amd64.deb) ...
Setting up libcroco3 (0.6.2-1) ...
Selecting previously deselected package libcroco-tools.
(Reading database ... 6405 files and directories currently installed.)
Unpacking libcroco-tools (from .../libcroco-tools_0.6.6-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libcroco-tools_0.6.6-1_amd64.deb (--unpack):
trying to overwrite '/usr/bin/csslint-0.6', which is also in package libcroco3 0.6.2-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):
The -tools package was added recently:
libcroco (0.6.2-2) unstable; urgency=low
* Move csslint to a new libcroco-tools package, for multiarch cleanliness.
The following relationships are currently defined:
Depends: libcroco3 (>= 0.6.2)
The following relationships should be added for a clean takeover of
Breaks: libcroco3 (<< 0.6.2-2)
Replaces: libcroco3 (<< 0.6.2-2)
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...
Size: 6072 bytes
Desc: not available
More information about the pkg-gnome-maintainers