Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel > #85192

What problem might happen when bumping soname without adding Conflicts:/Breaks:?

From Boyuan Yang <073plan@gmail.com>
Newsgroups linux.debian.devel, linux.debian.devel.mentors
Subject What problem might happen when bumping soname without adding Conflicts:/Breaks:?
Date 2018-03-29 04:40 +0200
Message-ID <vyvDP-36p-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello debian-devel and mentors,

Recently I found a disagreement with my mentor about proper handling of 
library transition (bumping SONAME) and we agreed that we need some 
suggestions.

Transition documentation (written by Release Team) can be found at [1].

Some quick facts:

* We have a libdframeworkdbus1 with soname 1; it is a standard Multi-Arch 
library:

    % dpkg -L libdframeworkdbus1 
    /. 
    /usr 
    /usr/lib 
    /usr/lib/x86_64-linux-gnu 
    /usr/lib/x86_64-linux-gnu/libdframeworkdbus.so.1.0.0 
    /usr/share 
    /usr/share/doc 
    /usr/share/doc/libdframeworkdbus1 
    /usr/share/doc/libdframeworkdbus1/changelog.Debian.gz 
    /usr/share/doc/libdframeworkdbus1/changelog.gz 
    /usr/share/doc/libdframeworkdbus1/copyright 
    /usr/lib/x86_64-linux-gnu/libdframeworkdbus.so.1 
    /usr/lib/x86_64-linux-gnu/libdframeworkdbus.so.1.0 
    /usr/share/doc/libdframeworkdbus1/CHANGELOG.md.gz

* Upstream released new version and bumped SONAME to 2
* -dev package didn't change its name
* My mentor suggests that the new library package (libdframeworkdbus2) should 
add the relationship "Conflicts: libdframeworkdbus1"

...and such necessity is not reflected in the documentation. My personal 
thought is that with "smooth updates" (as described in [1]), the old library 
and the new library (with different SONAME) should be able to installed 
simultaneously on any Debian Unstable / Debian Testing system without any 
problem during the transition. If that is true, the "Conflicts:" relationship 
shouldn't appear. The "Replaces:" relationship [2] should not appear as well 
because there won't be any file conflcts.

We'd like to know that with transitions for library soname bump, is 
"Conflicts:" relationship needed / not needed in all circumstances and what 
problem might users / developers encounter if it is added / not added.

Thank you very much.

--
Regards,
Boyuan Yang


[1] https://wiki.debian.org/Teams/ReleaseTeam/Transitions
[2] https://www.debian.org/doc/debian-policy/#s-replaces

Back to linux.debian.devel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

What problem might happen when bumping soname without adding Conflicts:/Breaks:? Boyuan Yang <073plan@gmail.com> - 2018-03-29 04:40 +0200
  Re: What problem might happen when bumping soname without adding Conflicts:/Breaks:? Russ Allbery <rra@debian.org> - 2018-03-29 05:10 +0200
    Re: What problem might happen when bumping soname without adding  Conflicts:/Breaks:? Adrian Bunk <bunk@debian.org> - 2018-03-29 20:50 +0200
      Re: What problem might happen when bumping soname without adding  Conflicts:/Breaks:? Gert Wollny <gw.fossdev@gmail.com> - 2018-04-02 20:20 +0200
      Re: What problem might happen when bumping soname without adding Conflicts:/Breaks:? Russ Allbery <rra@debian.org> - 2018-04-02 20:30 +0200
  Re: What problem might happen when bumping soname without adding Conflicts:/Breaks:? Ondrej Novy <novy@ondrej.org> - 2018-03-29 09:40 +0200

csiph-web