Matthew Vernon
2018-11-08 16:31:30 UTC
Hi,
in Jewel, /etc/bash_completion.d/radosgw-admin is in the radosgw package
In Luminous, /etc/bash_completion.d/radosgw-admin is in the ceph-common
package
...so if you try and upgrade, you get:
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
This is a packaging bug - ceph-common needs to declare (via Replaces and
Breaks) that it's taking over some of the radosgw package -
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-in-other-packages
The exact versioning would depend on when the move was made (I presume
either Jewel -> Kraken or Kraken -> Luminous). Does anyone know?
[would you like this reported formally, or is the fix trivial enough to
just be done? :-) ]
Regards,
Matthew
in Jewel, /etc/bash_completion.d/radosgw-admin is in the radosgw package
In Luminous, /etc/bash_completion.d/radosgw-admin is in the ceph-common
package
...so if you try and upgrade, you get:
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
This is a packaging bug - ceph-common needs to declare (via Replaces and
Breaks) that it's taking over some of the radosgw package -
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-in-other-packages
The exact versioning would depend on when the move was made (I presume
either Jewel -> Kraken or Kraken -> Luminous). Does anyone know?
[would you like this reported formally, or is the fix trivial enough to
just be done? :-) ]
Regards,
Matthew
--
The Wellcome Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
The Wellcome Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.