5 Feb 2021 |
emorrp1 | oh that's a shame, sorry for the misinformation then, how did previous upgrades work? there have been several times when a new synapse version has bumped a dependency to backports | 20:23:12 |
dxld | I haven't been running this setup for very long :) | 20:23:35 |
dxld | Had some unrelated issues with unattended-upgrades blacklisting backports by default and such hehe | 20:24:22 |
dxld | so I'm back to thinking I'll have to report an apt bug/feature request | 20:25:15 |
emorrp1 | you can use this preferences file if you like https://salsa.debian.org/freedombox-team/freedombox/-/blob/master/actions/upgrades#L42 | 20:25:14 |
| philipp left the room. | 20:25:09 |
dxld | the problem with any preference file is that it'll have to be kept up-to-date manually as well then, no? | 20:25:55 |
dxld | unless we could ship a matrix-synapse-apt-preferences package with something in preferences.d ;) | 20:26:15 |
dxld | seems like this might be something that could help the freedombox people too, so I'm not entirely crazy :) | 20:27:09 |
emorrp1 | hmm, it's almost #714745, but not for NEW deps, just deps crossing from stable to stable-backports | 20:30:18 |
dxld | that's fine though cause you can turn of the "kept back" behaviour with the config toggle I posted above | 20:31:05 |
dxld | APT::Get::Upgrade-Allow-New | 20:31:15 |
dxld | haven't tested if that plays nicely with u-a yet tho | 20:31:27 |
emorrp1 | yeah, exactly, but I can't find a config equivalent for this specific scenario - you really are supposed to just monitor the failures and run full-upgrade it seems | 20:33:13 |
dxld | dist/full-upgrade won't help either though | 20:33:39 |
dxld | that's the problem :) | 20:33:44 |
emorrp1 | hmm, I seem to be getting confused about all the possible state changes, probably one for a different channel | 20:34:39 |
dxld | what you'd have to do is -t buster-backports to raise the effective prio of the psy* package version from buster to 990 | 20:35:01 |
dxld | or add an explicit pin to preferences like the freedombox thing from above | 20:35:18 |
emorrp1 | In reply to @dxld:it-syndik.at the problem with any preference file is that it'll have to be kept up-to-date manually as well then, no? yes, that file is updated manually by the freedombox buster-backports package | 20:35:48 |
dxld | so do you think it would be fesible to ship a preferences.d drop in file for synapse in backports then? | 20:37:40 |
emorrp1 | I don't think that would be appropriate, no | 20:38:00 |
dxld | I'm not saying to ship this as part of the matrix-synapse package mind you | 20:38:33 |
dxld | just something you can opt-in to | 20:38:42 |
andrewsh | I think you can opt-in by running apt manually | 20:38:59 |
dxld | haha, funny :) | 20:39:08 |
andrewsh | I don’t think making u-a work with this is necessary | 20:39:14 |
andrewsh | no, I’m serious actually | 20:39:19 |
dxld | but then I have to do that every time | 20:39:25 |
andrewsh | that doesn’t happen that often though | 20:39:35 |