[SOLVED] 5.0 dist-upgrade /etc/bash_completion.d/ceph

Rob Loan

Renowned Member
Mar 25, 2017
48
13
73
60
for google:

dist-upgrade from 5.0b2 to 5.0:

Unpacking ceph-common (12.1.0-pve2) over (12.0.3-pve2) ...
dpkg: error processing archive /tmp/apt-dpkg-install-iWnrun/02-ceph-common_12.1.0-pve2_amd64.deb (--unpack):
trying to overwrite '/etc/bash_completion.d/ceph', which is also in package ceph-base 12.0.3-pve2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/tmp/apt-dpkg-install-iWnrun/02-ceph-common_12.1.0-pve2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

fixed with: apt --fix-broken install

The following packages have unmet dependencies:
ceph-common : Depends: librbd1 (= 12.0.3-pve2) but 12.1.0-pve2 is to be installed
Depends: python-rados (= 12.0.3-pve2) but 12.1.0-pve2 is to be installed
Depends: python-cephfs (= 12.0.3-pve2) but 12.1.0-pve2 is to be installed
Depends: python-rbd (= 12.0.3-pve2) but 12.1.0-pve2 is to be installed
Depends: python-rgw (= 12.0.3-pve2) but 12.1.0-pve2 is to be installed
ceph-mgr : Depends: ceph-base (= 12.1.0-pve2) but it is not going to be installed
ceph-mon : Depends: ceph-base (= 12.1.0-pve2) but it is not going to be installed
ceph-osd : Depends: ceph-base (= 12.1.0-pve2) but it is not going to be installed
Recommends: ceph-common (= 12.1.0-pve2) but 12.0.3-pve2 is to be installed
 
Last edited:
Hi,

what is the output of

apt install librbd1
 
Thanks for checking my work, it returns:

librbd1 is already the newest version (12.1.0-pve2).