]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: fix package relationships after d3ac8d18 18474/head
authorKefu Chai <kchai@redhat.com>
Mon, 23 Oct 2017 12:15:16 +0000 (20:15 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 23 Oct 2017 12:18:15 +0000 (20:18 +0800)
d3ac8d18 moves ceph-client-debug from ceph-test to ceph-base without
updating the package relationships between the two involved packages.
which results in:

dpkg: error processing archive /var/cache/apt/archives/ceph-test_12.2.1-241-g43e027b-1trusty_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/ceph-client-debug', which is also in package ceph-base 10.2.10-14-gcbaddae-1trusty
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Signed-off-by: Kefu Chai <kchai@redhat.com>
debian/control

index d0d919e07fa0279e50b61db22193569976e706c4..6db88fe1d0192f6eb626d223afcc0f2722e11f16 100644 (file)
@@ -712,6 +712,8 @@ Depends: ceph-common,
          xmlstarlet,
          ${misc:Depends},
          ${shlibs:Depends},
+Replaces: ceph-base (<< 11)
+Breaks: ceph-base (<< 1)
 Description: Ceph test and benchmarking tools
  This package contains tools for testing and benchmarking Ceph.