From 50dad805d9f635f2d8085237e94ee8fd0948dd3c Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 23 Oct 2017 15:26:35 +0800 Subject: [PATCH] debian: fix package relationships after 40caf6a6 we have issues when running upgrade tests: dpkg: error processing archive /var/cache/apt/archives/ceph-osd_13.0.0-2201-g6cc0b41-1trusty_amd64.deb (--unpack): trying to overwrite '/usr/bin/ceph-osdomap-tool', which is also in package ceph-test 10.2.10-14-gcbaddae-1trusty in 40caf6a6, we moves some tools from ceph-test out into ceph-osd, ceph-mon and ceph-base respectively. but didn't update the relationships between these packages accordingly. this causes the upgrade failure. see https://www.debian.org/doc/debian-policy/#document-ch-relationships for more details on "Breaks" and "Conflicts". the reason why the package version to be replaced/conflicted is 12.2.2 is that: i assume that this change will be backported to luminous, and the next release of it will be 12.2.2 . Signed-off-by: Kefu Chai --- debian/control | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/debian/control b/debian/control index 79bef9bfb35..d0d919e07fa 100644 --- a/debian/control +++ b/debian/control @@ -103,10 +103,10 @@ Recommends: btrfs-tools, ntp | time-daemon, Replaces: ceph (<< 10), ceph-common (<< 0.78-500), - ceph-test (<< 0.94-1322), + ceph-test (<< 12.2.2), python-ceph (<< 0.92-1223), Breaks: ceph (<< 10), - ceph-test (<< 0.94-1322), + ceph-test (<< 12.2.2), python-ceph (<< 0.92-1223), Description: common ceph daemon libraries and management tools Ceph is a massively scalable, open-source, distributed @@ -204,8 +204,8 @@ Depends: ceph-base (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, Recommends: ceph-common, -Replaces: ceph (<< 10), -Breaks: ceph (<< 10), +Replaces: ceph (<< 10), ceph-test (<< 12.2.2) +Breaks: ceph (<< 10), ceph-test (<< 12.2.2) Description: monitor server for the ceph storage system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, @@ -237,8 +237,8 @@ Depends: ceph-base (= ${binary:Version}), ${python:Depends}, ${shlibs:Depends}, Recommends: ceph-common (= ${binary:Version}), -Replaces: ceph (<< 10), -Breaks: ceph (<< 10), +Replaces: ceph (<< 10), ceph-test (<< 12.2.2) +Breaks: ceph (<< 10), ceph-test (<< 12.2.2) Description: OSD server for the ceph storage system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, -- 2.39.5