Actions
Bug #870
closedThe -dev packages are missing conflicts, could avoid SONAME in package name.
Status:
Resolved
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
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
Actions