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
Updated by Kefu Chai over 5 years ago
- Project changed from devops to RADOS
- Category set to Administration/Usability
- Status changed from New to Pending Backport
- Backport changed from luminous to luminous,mimic
Updated by Nathan Cutler over 5 years ago
- Copied to Backport #37273: mimic: debian: packaging need to reflect move of /etc/bash_completion.d/radosgw-admin from radosgw to ceph-common added
Updated by Nathan Cutler over 5 years ago
- Copied to Backport #37274: luminous: debian: packaging need to reflect move of /etc/bash_completion.d/radosgw-admin from radosgw to ceph-common added
Updated by Nathan Cutler over 5 years ago
- Status changed from Pending Backport to Resolved