4 Feb 2021 |
andrewsh | right, I should have added Breaks: | 10:18:12 |
andrewsh | or should I maybe make it a dependency? | 10:18:33 |
emorrp1 | * Hi andrewsh, just had synapse backport stuck in a boot loop reported independently in both #freedombox-dev:synapse.sds-ip.de and #debian-social:matrix.debian.social The solution is to force an upgrade of psycopg2 manually, doesn't seem to be being resolved correctly. | 10:21:44 |
emorrp1 | I'm afraid I haven't tested with --no-install-recommends, so don't know if it needs to be a hard dependency. FYI, Freedombox configures sqlite and debian.social configures postgres. | 10:24:17 |
emorrp1 | probably more for mentors, but I know you bumped the Recommends to >= 1.8, why do you need a breaks as well? | 10:26:50 |
emorrp1 | because previous bumps to backports versions like canonicaljson worked fine | 10:27:42 |
RSS Bot [@hubert:uhoreg.ca] | Debian package news for matrix-synapse: Accepted matrix-synapse 1.26.0-1~bpo10+2 (source) into buster-backports | 10:34:49 |
RSS Bot [@hubert:uhoreg.ca] | Debian package news for matrix-synapse: Accepted matrix-synapse 1.26.0-2 (source) into unstable | 10:34:49 |
andrewsh | I made it a dependency | 11:35:45 |
andrewsh | it doesn’t bring much anyway | 11:35:51 |
andrewsh | only libpq | 11:36:12 |
RSS Bot [@hubert:uhoreg.ca] | Debian package news for matrix-synapse: The <a href="https://qa.debian.org/cgi-bin/vcswatch?package=matrix-synapse">VCS repository is not up to date</a>, push the missing commits. | 17:09:50 |
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 |