Bug #36741
closeddebian: packaging need to reflect move of /etc/bash_completion.d/radosgw-admin from radosgw to ceph-common
0%
Description
Hi,
Between version 12.0.2 and 12.0.3, the file /etc/bash_completion.d/radosgw-admin moved from the radosgw package to the ceph-common package. This means that trying to unpack a newer ceph-common over an older radosgw will fail:
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
To fix this, the newer ceph-common package needs to declare a Replaces and Breaks relationship with the older radosgw package (Debian policy describes this - https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-in-other-packages ).
This fix should be backported to luminous, to avoid issues with upgrades from Jewel/Kraken.
I've a pull request open to address this: https://github.com/ceph/ceph/pull/24996
Regards,
Matthew