Hi,

There appears to be a slightly gnarly packaging bug that prevents
upgrades from version 0.79.0ubuntu1, as supplied by Ubuntu 14.04
("Trusty"), to version 0.80.1-1trusty, as supplied under
https://ceph.com/debian-firefly/.

Specifically, the older version of the 'ceph' packages conflicts with
the newer 'ceph-common' package, and similarly the older version of the
'ceph-common' package conflicts with the newr 'ceph' one.

Attempting to update 'ceph' results in dpkg objecting with:

> dpkg: error processing archive 
> /var/cache/apt/archives/ceph-common_0.80.1-1trusty_amd64.deb (--unpack):
>  trying to overwrite '/etc/ceph/rbdmap', which is also in package ceph 
> 0.79-0ubuntu1

Similarly, attempting to update 'ceph-common' results in dpkg objecting
with:

> dpkg: error processing archive 
> /var/cache/apt/archives/ceph_0.80.1-1trusty_amd64.deb (--unpack):
>  trying to overwrite '/usr/share/man/man8/ceph-rest-api.8.gz', which is also 
> in package ceph-common 0.79-0ubuntu1

These are just the first conflicts that occur; it's conceivable there
are more.

Though this is not something I'm deeply familiar with, a first glance
suggests that a careful addition of "Replaces:" and "Breaks:" dependency
relations to the newer packages are necessary to suppress this error.

See also:

 https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

Kind regards,
David
-- 
David McBride <dw...@cam.ac.uk>
Unix Specialist, University Information Services
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to