Upgrading Ceph from 14.2.11-0ubuntu0.19.10.1~cloud4 to 15.2.8-0ubuntu0.20.04.1~cloud0 fails when ceph-mds is installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Released
|
Medium
|
Unassigned | ||
ceph (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
James Page |
Bug Description
[Impact]
Package upgrades will fail due to a move of a file between packages
[Test Case]
Install ceph-mds 14.2.11-
do-release-upgrade to focal
package upgrade will fail.
[Where problems could occur]
Version declarations might not be correct; upgrade might still break with the same conflict.
[Original Bug Report]
In a host where ceph-mds is installed, upgrading from 14.2.11-
dpkg: error processing archive /tmp/apt-
trying to overwrite '/usr/bin/
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/tmp/apt-
E: Sub-process /usr/bin/dpkg returned an error code (1)
The problem happens because /usr/bin/
# dpkg -S /usr/bin/
ceph-mds: /usr/bin/
However in 15.2.8-
# dpkg -S /usr/bin/
ceph-common: /usr/bin/
A quick workaround is to temporarily remove ceph-mds before the upgrade (dpkg -r ceph-mds) and then perform the upgrade process using apt install. It will upgrade all packages and reinstall ceph-mds.
tags: | added: sts |
description: | updated |
Changed in cloud-archive: | |
status: | New → Invalid |
Breaks:
ceph-mds (<< 14.2.5-3~),
Replaces:
ceph-mds (<< 14.2.5-3~),
looks like the versioning check in the focal package is not correct.