[Pkg-javascript-devel] Bug#924104: libjs-leaflet.markercluster: missing Breaks+Replaces: libjs-leaflet-markercluster (<< 1.4.1~dfsg-4)
Andreas Beckmann
anbe at debian.org
Sat Mar 9 15:20:38 GMT 2019
Package: libjs-leaflet.markercluster
Version: 1.4.1~dfsg-5
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts replaces-without-breaks
Hi,
during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
This is caused by using Replaces without corresponding Breaks.
The installation sequence to reproduce this problem is
apt-get install libjs-leaflet-markercluster/stretch
# (1)
apt-get install libjs-leaflet.markercluster/sid
apt-get remove libjs-leaflet.markercluster
# (2)
The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:
/usr/share/javascript/leaflet/MarkerCluster.Default.css
/usr/share/javascript/leaflet/MarkerCluster.css
/usr/share/javascript/leaflet/leaflet.markercluster.js
This is a serious bug violating policy 7.6, see
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces
and also see the footnote that describes this incorrect behavior:
https://www.debian.org/doc/debian-policy/ch-relationships.html#id13
The libjs-leaflet.markercluster package has the following relationships with libjs-leaflet-markercluster:
Conflicts: n/a
Breaks: n/a
Replaces: libjs-leaflet-markercluster
>From the attached log (scroll to the bottom...):
0m59.0s ERROR: FAIL: After purging files have disappeared:
/usr/share/javascript/leaflet/MarkerCluster.Default.css owned by: libjs-leaflet.markercluster
/usr/share/javascript/leaflet/MarkerCluster.css owned by: libjs-leaflet.markercluster
/usr/share/javascript/leaflet/leaflet.markercluster.js owned by: libjs-leaflet.markercluster
0m59.0s ERROR: FAIL: After purging files have been modified:
/var/lib/dpkg/info/libjs-leaflet-markercluster.list not owned
With the reintroduction of libjs-leaflet-markercluster as a
transitional package, the Replaces in libjs-leaflet.markercluster
needs to be versioned and a corresponding Breaks needs to be added.
The Provides: libjs-leaflet-markercluster in libjs-leaflet.markercluster
might be dropped.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjs-leaflet-markercluster=0.5.0~dfsg-2_libjs-leaflet.markercluster=1.4.1~dfsg-5.log.gz
Type: application/gzip
Size: 8307 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190309/492db29b/attachment.gz>
More information about the Pkg-javascript-devel
mailing list