dpkg error when trying to install ceph-deploy

I can't install ceph-deploy on Ubuntu 20.04.2 LTS. When I try:

apt install ceph-deploy

I get this:

dpkg: error processing archive /var/cache/apt/archives/ceph-deploy_2.0.1-0ubuntu1_all.deb (--unpack):
 trying to overwrite '/usr/share/man/man8/ceph-deploy.8.gz', which is also in package ceph-base 15.2.11-0ubuntu0.20.04.2
Errors were encountered while processing: 
 /var/cache/apt/archives/ceph-deploy_2.0.1-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

It seems to be this bug listed here: https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1892448

Could this package solve the problem?

Do I need to install that package? If yes, how do I do that and what else do I need to do?


You can override package installation using low-level command below

sudo dpkg -i --force-all /var/cache/apt/archives/ceph-deploy_2.0.1-0ubuntu1_all.deb

and then run

sudo apt-get install -f
sudo dpkg --configure -a

to resume package installation.