Ubuntu 14.04: Packaging bug: Upgrades from 0.79-0ubuntu1 → 0.80.1-1trusty fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dwm37@xxxxxxxxx>
Unix Specialist, University Information Services
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux