tiny-pilot / janus-debian

MIT License
1 stars 0 forks source link

Remove `Conflict` directive for better compatibility? #3

Closed jotaen4tinypilot closed 1 year ago

jotaen4tinypilot commented 2 years ago

We declare three packages (libnice10, libsrtp2-1, libwebsockets16) as conflicting, because we are compiling them from source in order to get a version newer than the one from apt.

This restriction caused trouble for us during the update process (2.4.12.5.0). The problem might re-appear, since all three of these packages are generic utilities that could be installed by other system packages that we might want to install in the future.

So I’m wondering whether the Conflict: directive is really necessary, or whether there would be a way for both versions to safely co-exist on the system. I.e., that Janus internally is linked to libnice10 as compiled by us, whereas other system packages use the one installed via apt.

I don’t know whether that’s possible at all, but maybe it’s an option for us to consider in case this problem occurs again at some point.

jotaen4tinypilot commented 2 years ago

For reference: the predecessor of this Debian package, ansible-role-janus-gateway, also had both at the same time:

jotaen4tinypilot commented 1 year ago

Obsolete via https://github.com/tiny-pilot/janus-debian/pull/7.