4 Feb 2021 |
emorrp1 | I know it's resolved now, but confirmed in testing "The restart-loop only happens if postgresql service is running on the machine." which, given the packaged version configures sqlite, will just depend on what else the user has installed. | 17:38:12 |
RSS Bot [@hubert:uhoreg.ca] | Debian package news for matrix-synapse: A new upstream version is available: <a href="https://github.com/matrix-org/synapse/archive/v1.27.0rc1.tar.gz">1.27.0~rc1</a> | 21:05:03 |
5 Feb 2021 |
dxld | is anyone else using unattended-upgrades for matrix-synapse from backports? This new dependency on pycopg2 is blocking u-a from installing the upgrade automatically and I'm wondering what magic I need in apt.conf or apt/preferences to make that work seamlessly :) | 11:47:24 |
davo | just upgrade psycopg2 manually I guess | 12:16:44 |
dxld | yeah, sure. but I'd like to not have to do that in the future | 13:26:28 |
dxld | I was able to find the APT::Get::Upgrade-Allow-New flag which is the first necessary step to get this working, but it seems that the current implementation of pinning in apt simply isn't powerful enough to do what I want. | 13:29:38 |
dxld | I could increase the backports prio to be the same as what stable has on my system, but then I get all packages with newer versions from backports when really I just want synapse and it's dependencies | 13:30:45 |
dxld | (if this is OT for this room just tell me to shut it and I'll go open some apt bugs instead ;) | 13:31:45 |
emorrp1 | dxld: don't worry about it, if you scroll up a little you can find the details, but a new backport version has been uploaded with the fix | 14:43:36 |
dxld | you mean without the new dependency on pycopg2? or are you talking about the restart loop thing? | 15:11:18 |
emorrp1 | Both are caused by the same thing - Recommends on buster-backports - it has been fixed in version 1.26.0-1~bpo10+2 so that unattended-upgrades will automatically upgrade it on next run. | 15:36:56 |
| fouine left the room. | 16:56:32 |
dxld | ah! sweet | 20:04:46 |
dxld | so pycopg2 was in Recommends in bpo10+1 but was moved to Depends: in bpo10+2 | 20:05:57 |
dxld | fyi +2 doesn't seem to be in the git repo, had to dget the sources | 20:06:13 |
emorrp1 | indeed, and that should force the switch automatically, or at least work with apt full-upgrade | 20:08:49 |
dxld | I don't really understand why that makes the difference though, the way I understand apt's dependency resolution algorithm the lower priority would still prevent the newer version of pycopg2 from being installed | 20:12:58 |
dxld | nah, it still fails with
matrix-synapse:amd64 Depends on python3-psycopg2:amd64 < 2.7.7-1 @ii mK > (>= 2.8) can't be satisfied! | 20:13:57 |
andrewsh | In reply to @dxld:it-syndik.at fyi +2 doesn't seem to be in the git repo, had to dget the sources pushed, but be aware you can always run dgit fetch to receive the missing commits from dgit | 20:17:08 |
dxld | dgit? | 20:17:48 |
dxld | emorrp1: I can see the +2 version in apt-cache policy and python3-psycopg2=2.8.6-2~bpo10+1 is also available but none of the upgrade variants seem to consider matrix-synapse at all not even dist-upgrade | 20:19:51 |
dxld | python3-psycopg2=2.7.7-1 is at prio 990 (from target-release) but =2.8.6-2~bpo10+1 is at prio 100 | 20:20:48 |
andrewsh | wait, do you mean psycopg? | 20:20:51 |
dxld | so I think that's whats blocking it | 20:20:54 |
andrewsh | or matrix-synapse? | 20:20:54 |
dxld | erm, not sure which part you mean now :) | 20:21:40 |
andrewsh | In reply to @dxld:it-syndik.at emorrp1: I can see the +2 version in apt-cache policy and python3-psycopg2=2.8.6-2~bpo10+1 is also available but none of the upgrade variants seem to consider matrix-synapse at all not even dist-upgrade I think you need to add -t buster-backport to your apt calls | 20:21:42 |
andrewsh | In reply to @dxld:it-syndik.at emorrp1: I can see the +2 version in apt-cache policy and python3-psycopg2=2.8.6-2~bpo10+1 is also available but none of the upgrade variants seem to consider matrix-synapse at all not even dist-upgrade * I think you need to add -t buster-backports to your apt calls | 20:21:47 |
dxld | indeed but that is what I'm trying to avoid since that will also prevent unattended-upgrades from doing that automatically | 20:22:08 |
dxld | * indeed but that is what I'm trying to avoid since that will also prevent unattended-upgrades from doing the upgrade automatically | 20:22:30 |