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
ceph-base.postinst
ceph-base.prerm
ceph-common.dirs
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
ceph-mds.dirs
ceph-mds.install
ceph-mds.postinst
ceph-mds.prerm
ceph-mgr.dirs
ceph-mgr.install
ceph-mgr.postinst
ceph-mgr.prerm
ceph-mon.dirs
ceph-mon.install
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-osd.prerm
ceph-resource-agents.install
ceph-test.install
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
libcephfs2.install
libcephfs-dev.install
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
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
python3-rados.install
python3-rbd.install
python3-rgw.install
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
python-rados.install
python-rbd.install
python-rgw.install
rados-objclass-dev.install
radosgw.dirs
radosgw.install
radosgw.postinst
radosgw.prerm
rbd-fuse.install
rbd-mirror.install
rbd-nbd.install
rules debian: s/librados2/librados3/ 2018-11-02 00:15:31 +08:00
watch