Bug#694363: libdconf-dev: missing Breaks+Replaces: valac (<< 0.9.5)
Andreas Beckmann
debian at abeckmann.de
Sun Nov 25 20:53:54 UTC 2012
Package: libdconf-dev
Version: 0.5.1-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 valac.
Unpacking valac (from .../valac_0.8.1-2_amd64.deb) ...
Setting up valac (0.8.1-2) ...
Selecting previously deselected package libdconf-dev.
Unpacking libdconf-dev (from .../libdconf-dev_0.12.1-2_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/libdconf-dev_0.12.1-2_amd64.deb (--unpack):
trying to overwrite '/usr/share/vala/vapi/dconf.vapi', which is also in package valac 0.8.1-2
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/vala/vapi/dconf.vapi
Probably added to libdconf-dev in
d-conf (0.5.1-2) experimental; urgency=low
* debian/libdconf-dev.install:
- Install .vapi file
valac 0.9.5-1 was the first valac package no longer shipping dconf.vapi
The following relationships are currently defined:
Package: libdconf-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: libdconf-dev
Breaks: valac (<< 0.9.5)
Replaces: valac (<< 0.9.5)
Cheers,
Andreas
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: valac=0.8.1-2_libdconf-dev=0.12.1-2.log.gz
Type: application/x-gzip
Size: 7270 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20121125/85845bc8/attachment-0001.bin>
More information about the pkg-gnome-maintainers
mailing list