Anki 25.09’s Linux installer overwrote a working Anki 24.06.3 installation on Ubuntu 22.04 with a binary that cannot run (glibc ≥ 2.36 required).
The installer should check host compatibility before replacing an existing installation, and abort if requirements are not met. An upgrade should not leave users with a broken application.
Suggested fix: have the installer run ldd --version and abort before overwriting if glibc < 2.36.
I guess you installed the old version with the official script as well?
If not, then the binary wasn’t overwritten at all and you can fix it by running the uninstall script. The anki from ubuntus repos won’t be removed by that script and is thus unaffected.
Anyways, this is more complicated than it looks. On debian, this is what ldd --version returns:
ldd (Debian GLIBC 2.41-12) 2.41
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
We care only about the 2.41 bit. Long story short, here is the PR:
Please try if you can, I only tried it on debian linux.