ceph/debian
Matthew Vernon dd24ddcbf7 debian: correct ceph-common relationship with older radosgw package
Fixes: https://tracker.ceph.com/issues/36741

9fd30b93f7 moved
/etc/bash_completion.d/radosgw-admin from radosgw to ceph-common. This
means that if you try and install a newer ceph-common over an older
radosgw, there's a conflict, and the install fails:

```
Unpacking ceph-common (12.2.8-1xenial) over (10.2.9-0ubuntu0.16.04.1) ...
dpkg: error processing archive ceph-common_12.2.8-1xenial_amd64.deb (--install):
 trying to overwrite '/etc/bash_completion.d/radosgw-admin', which is also in package radosgw 10.2.9-0ubuntu0.16.04.1
```

Per Debian policy (
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-in-other-packages
) the correct way to handle a package taking over a file is for a
versioned Replaces and Breaks.

The change went into 12.0.3, so this commit adds Replaces and Breaks
against radosgw less than that version. It should be backported to
Luminous to avoid issues with upgrades from older versions (Jewel and
Kraken).

Signed-off-by: Matthew Vernon <mv3@sanger.ac.uk>
2018-11-09 09:35:35 +00:00
..
source
.gitignore
ceph-base.dirs spec: add missing rbd mirror bootstrap directory 2018-11-05 11:06:07 +01:00
ceph-base.docs
ceph-base.install add ceph-crash service 2018-08-08 18:37:43 -07:00
ceph-base.lintian-overrides
ceph-base.maintscript debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
ceph-base.postinst
ceph-base.prerm
ceph-common.dirs debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
ceph-common.install deb,rpm: python-cephfs should depend on python-ceph-argparse 2018-07-25 20:53:50 +08:00
ceph-common.postinst
ceph-common.postrm
ceph-fuse.install debian: install system units using cmake 2018-02-28 00:23:22 +08:00
ceph-mds.dirs
ceph-mds.install debian: install system units using cmake 2018-02-28 00:23:22 +08:00
ceph-mds.postinst
ceph-mds.prerm
ceph-mgr.dirs
ceph-mgr.install debian: install system units using cmake 2018-02-28 00:23:22 +08:00
ceph-mgr.postinst
ceph-mgr.prerm
ceph-mon.dirs
ceph-mon.install tools: cleanup: rip out ceph-rest-api 2018-03-05 22:01:51 +01:00
ceph-mon.postinst
ceph-mon.prerm
ceph-osd.dirs
ceph-osd.install debian: install etc/sudoers.d/ceph-osd-smartctl 2018-06-27 15:17:29 -05:00
ceph-osd.postinst ceph.spec.in,debian/rules: change aio-max-nr to 1048576 2017-10-24 13:16:36 +08:00
ceph-osd.prerm
ceph-resource-agents.install
ceph-test.install ceph_xattr_bench: drop 2018-02-06 08:21:29 -06:00
cephfs-shell.install tools/cephfs,deb: package cephfs-shell 2018-08-09 20:19:34 +08:00
changelog debian/changelog: fix typos 2018-09-21 12:41:42 +08:00
compat
control debian: correct ceph-common relationship with older radosgw package 2018-11-09 09:35:35 +00:00
copyright Merge pull request #20876 from smithfarm/wip-doc-license 2018-03-19 14:29:54 +01:00
libcephfs2.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
libcephfs-dev.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
libcephfs-java.jlibs
libcephfs-jni.install
librados3.install rpm,deb: package libceph-common.so.* not libceph-common.so* 2018-11-02 00:15:31 +08:00
librados-dev.install debian: add libradospp* packages 2018-11-02 00:15:31 +08:00
libradospp1.install debian: add libradospp* packages 2018-11-02 00:15:31 +08:00
libradospp-dev.install debian: add libradospp* packages 2018-11-02 00:15:31 +08:00
libradosstriper1.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
libradosstriper-dev.install
librbd1.install
librbd-dev.install
librgw2.install deb,rpm: package librgw_admin_user.{h,so.*} 2018-05-24 16:45:58 +08:00
librgw-dev.install deb,rpm: package librgw_admin_user.{h,so.*} 2018-05-24 16:45:58 +08:00
py3dist-overrides tools/cephfs,deb: package cephfs-shell 2018-08-09 20:19:34 +08:00
python3-ceph-argparse.install
python3-cephfs.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python3-rados.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python3-rbd.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python3-rgw.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python-ceph-argparse.install deb,rpm: python-cephfs should depend on python-ceph-argparse 2018-07-25 20:53:50 +08:00
python-cephfs.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python-rados.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python-rbd.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
python-rgw.install debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
rados-objclass-dev.install
radosgw.dirs
radosgw.install debian: install system units using cmake 2018-02-28 00:23:22 +08:00
radosgw.postinst
radosgw.prerm
rbd-fuse.install
rbd-mirror.install debian: install system units using cmake 2018-02-28 00:23:22 +08:00
rbd-nbd.install
rules debian: s/librados2/librados3/ 2018-11-02 00:15:31 +08:00
watch rpm,debian: use download.ceph.com/tarballs instead of ceph.com/download 2017-10-24 16:00:09 +08:00