Project

General

Profile

Actions

Bug #36741

closed

debian: packaging need to reflect move of /etc/bash_completion.d/radosgw-admin from radosgw to ceph-common

Added by Matthew Vernon over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Administration/Usability
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:

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


Related issues 2 (0 open2 closed)

Copied to RADOS - Backport #37273: mimic: debian: packaging need to reflect move of /etc/bash_completion.d/radosgw-admin from radosgw to ceph-commonResolvedNathan CutlerActions
Copied to RADOS - Backport #37274: luminous: debian: packaging need to reflect move of /etc/bash_completion.d/radosgw-admin from radosgw to ceph-commonResolvedActions
Actions #1

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
Actions #2

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
Actions #3

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
Actions #4

Updated by Nathan Cutler over 5 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF