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 dpkg: libcephfs1 -> libcephfs2 package rename 2016-10-25 13:06:29 -04:00
ceph-base.dirs spec: add missing rbd mirror bootstrap directory 2018-11-05 11:06:07 +01:00
ceph-base.docs debian/rpm: split mon/osd/mds server packages 2016-02-24 16:47:34 -05:00
ceph-base.install add ceph-crash service 2018-08-08 18:37:43 -07:00
ceph-base.lintian-overrides debian/rpm: split mon/osd/mds server packages 2016-02-24 16:47:34 -05:00
ceph-base.maintscript debian: wrap-and-sort all files 2017-07-04 17:38:39 +01:00
ceph-base.postinst debian/rpm: split mon/osd/mds server packages 2016-02-24 16:47:34 -05:00
ceph-base.prerm debian/rpm: split mon/osd/mds server packages 2016-02-24 16:47:34 -05:00
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 build/ops: Lock ceph user during a purge 2017-06-23 15:44:16 -07:00
ceph-common.postrm build/ops: Lock ceph user during a purge 2017-06-23 15:44:16 -07:00
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 packaging: add debian packaging for ceph-mgr 2016-09-29 17:27:17 +01:00
ceph-mgr.install debian: install system units using cmake 2018-02-28 00:23:22 +08:00
ceph-mgr.postinst ceph.spec,debian: remove auto-generated self-signed mgr restful cert 2017-06-20 17:25:05 -04:00
ceph-mgr.prerm packaging: add debian packaging for ceph-mgr 2016-09-29 17:27:17 +01:00
ceph-mon.dirs debian/rpm: split mon/osd/mds server packages 2016-02-24 16:47:34 -05:00
ceph-mon.install tools: cleanup: rip out ceph-rest-api 2018-03-05 22:01:51 +01:00
ceph-mon.postinst debian: start ceph-mon-all and ceph-osd-all on package install 2016-04-15 11:46:56 -04:00
ceph-mon.prerm debian: start ceph-mon-all and ceph-osd-all on package install 2016-04-15 11:46:56 -04:00
ceph-osd.dirs debian/rpm: split mon/osd/mds server packages 2016-02-24 16:47:34 -05:00
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 debian: start ceph-mon-all and ceph-osd-all on package install 2016-04-15 11:46:56 -04:00
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 debian: bump compat to 9 2016-07-21 02:02:58 +08:00
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 debian/rules: build deb with cmake 2016-06-29 22:26:24 +08:00
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 configure.ac,debian,rpm: do not package .a files in rpm/deb packages 2016-06-07 14:08:59 +08:00
librbd1.install
librbd-dev.install debian: Add missing tp files in deb packaging 2017-02-19 23:04:45 -08:00
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 debian: Add packages for Python 3 bindings 2016-08-11 16:36:57 +03:00
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 objclass-sdk: create SDK for Ceph object classes 2017-04-27 13:05:53 -07:00
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