Project

General

Profile

Actions

Bug #870

closed

The -dev packages are missing conflicts, could avoid SONAME in package name.

Added by Anonymous about 13 years ago. Updated about 13 years ago.

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
935
$ apt-cache search --names-only -
-dev|grep '[^0-9]-dev'|wc -l
2397

Actions #1

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.

Actions #2

Updated by Sage Weil about 13 years ago

  • Status changed from New to Resolved
  • Assignee set to Anonymous
Actions

Also available in: Atom PDF