!cApDlsILLZkmAyVoxe:matrix.org

Matrix on Debian

262 Members
https://wiki.debian.org/Matrix102 Servers

Load older messages


SenderMessageTime
2 Jan 2019
@andrewsh:matrix.organdrewsh it needs to Provides: matrix-synapse and I think Replaces: matrix-synapse 15:57:17
@andrewsh:matrix.organdrewsh in addition to the existing Conflicts 15:57:47
@richvdh:sw1v.orgrichvdh ok - is that preferable to a Depends in the other direction? 15:58:19
@andrewsh:matrix.organdrewshit's orthogonal, to be honest15:58:44
@andrewsh:matrix.organdrewsh and also you need to make sure Conflicts is versioned to be << than the first "dummy" matrix-synapse version 15:59:22
@andrewsh:matrix.organdrewshwait15:59:33
@andrewsh:matrix.organdrewshno15:59:36
@andrewsh:matrix.organdrewshI need to think a bit more15:59:52
@andrewsh:matrix.organdrewshhttps://wiki.debian.org/PackageTransition16:00:43
@richvdh:sw1v.orgrichvdhhrm this stuff is complicated16:03:39
@andrewsh:matrix.organdrewsh so it will be Breaks: matrix-synapse (<< 0.34.0-0matrix2) 16:04:28
@andrewsh:matrix.organdrewshalso https://wiki.debian.org/RenamingPackages16:04:36
@andrewsh:matrix.organdrewshbasically, you want the users to be able to:16:05:20
@andrewsh:matrix.organdrewsh
  • install matrix-synapse, get -py3
16:05:27
@richvdh:sw1v.orgrichvdhright, but it probably ought to Conflict/Break with your packages too ?16:05:37
@andrewsh:matrix.organdrewsh
  • install -py3, get rid of old matrix-synapse
16:05:39
@andrewsh:matrix.organdrewsh richvdh: sure, keep the versionless Conflicts too 16:05:59
@andrewsh:matrix.organdrewshwait16:06:14
@andrewsh:matrix.organdrewshno, fine16:06:29
@andrewsh:matrix.organdrewshthe trouble is that if you put incorrect Conflicts, the users won't be able to install -py3 when having non-py3 installed16:07:16
@andrewsh:matrix.organdrewsh e.g. apt install ā€¦-py3 will resolve in apt braindumping dependencies onto them :) 16:07:38
@richvdh:sw1v.orgrichvdh:/16:07:52
@richvdh:sw1v.orgrichvdh
In reply to @andrewsh:matrix.org
richvdh: sure, keep the versionless Conflicts too
Isn't Conflicts stronger than Breaks? so a versioned Breaks is redundant if we have a versionless Conflicts?
16:08:32
@andrewsh:matrix.organdrewshso I think you need to try and test it in all combinations user may encounter16:08:33
@andrewsh:matrix.organdrewsh
In reply to @richvdh:sw1v.org
Isn't Conflicts stronger than Breaks? so a versioned Breaks is redundant if we have a versionless Conflicts?
hmm, true; I need to think about it
16:08:59
@richvdh:sw1v.orgrichvdhfun16:09:12
@andrewsh:matrix.organdrewshhmm, maybe just versionless conflicts will be enough16:09:30
@andrewsh:matrix.organdrewshIā€™m confused now šŸ˜†16:09:49
@richvdh:sw1v.orgrichvdhhehe16:10:08
@richvdh:sw1v.orgrichvdhok I'll try some things16:10:23

Show newer messages


Back to Room ListRoom Version: