Bug #870
closedThe -dev packages are missing conflicts, could avoid SONAME in package name.
0%
Description
You can't install librados1-dev.deb and librados2-dev.deb at the same time anyway, they both contain /usr/include/rados/librados.h etc. Debian Policy says in this case, they need to conflict with each other: http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-dev
An easier way around this is to not use the soname in the deb name (and do the conflicts as a single-time transition, from e.g. librados2-dev to librados-dev). This is pretty common:
$ apt-cache search --names-only -- dev|grep '[0-9]-dev'|wc -l -dev|grep '[^0-9]-dev'|wc -l
935
$ apt-cache search --names-only -
2397
Updated by Anonymous about 13 years ago
I see 95db4c5cb868c26567e3f5095108481aa7e76a80 renamed the -dev packages.
That's going to be problematic for upgrades. See branch deb-conflicts, commit 1c3e0c2489140a0f187b5e5594ac06040d66cf63 for more.
Updated by Sage Weil about 13 years ago
- Status changed from New to Resolved
- Assignee set to Anonymous