2 Jan 2019 |
andrewsh | it needs to Provides: matrix-synapse and I think Replaces: matrix-synapse | 15:57:17 |
andrewsh | in addition to the existing Conflicts | 15:57:47 |
richvdh | ok - is that preferable to a Depends in the other direction? | 15:58:19 |
andrewsh | it's orthogonal, to be honest | 15:58:44 |
andrewsh | and also you need to make sure Conflicts is versioned to be << than the first "dummy" matrix-synapse version | 15:59:22 |
andrewsh | wait | 15:59:33 |
andrewsh | no | 15:59:36 |
andrewsh | I need to think a bit more | 15:59:52 |
andrewsh | https://wiki.debian.org/PackageTransition | 16:00:43 |
richvdh | hrm this stuff is complicated | 16:03:39 |
andrewsh | so it will be Breaks: matrix-synapse (<< 0.34.0-0matrix2) | 16:04:28 |
andrewsh | also https://wiki.debian.org/RenamingPackages | 16:04:36 |
andrewsh | basically, you want the users to be able to: | 16:05:20 |
andrewsh |
- install matrix-synapse, get -py3
| 16:05:27 |
richvdh | right, but it probably ought to Conflict/Break with your packages too ? | 16:05:37 |
andrewsh |
- install -py3, get rid of old matrix-synapse
| 16:05:39 |
andrewsh | richvdh: sure, keep the versionless Conflicts too | 16:05:59 |
andrewsh | wait | 16:06:14 |
andrewsh | no, fine | 16:06:29 |
andrewsh | the trouble is that if you put incorrect Conflicts, the users won't be able to install -py3 when having non-py3 installed | 16:07:16 |
andrewsh | e.g. apt install ā¦-py3 will resolve in apt braindumping dependencies onto them :) | 16:07:38 |
richvdh | :/ | 16:07:52 |
richvdh | 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 | so I think you need to try and test it in all combinations user may encounter | 16:08:33 |
andrewsh | 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 | fun | 16:09:12 |
andrewsh | hmm, maybe just versionless conflicts will be enough | 16:09:30 |
andrewsh | Iām confused now š | 16:09:49 |
richvdh | hehe | 16:10:08 |
richvdh | ok I'll try some things | 16:10:23 |