Skip to content

Conversation

@GithubAnon0000
Copy link
Contributor

Fixes: https://forums.ankiweb.net/t/installer-overwrote-working-install-with-incompatible-binary/68022?u=anon_0000

This checks that the users glibc version is supported and aborts otherwise. That way the older, working installation of the user (installed with the official install script) won't be overwritten with the new, unsupported version.

Caveat: this makes maintainance a bit more difficult as now the MINIMUM_REQUIRED_GLIBC_VERSION needs to be updated. Maybe it can be automated. Or maybe the version bump of minimum required glibc is unfrequent enough that we don't mind.

@GithubAnon0000 GithubAnon0000 changed the title FEAT(launcher): Add glibc version check on linux FEAT(install script): Add glibc version check on linux Jan 1, 2026
@abdnh
Copy link
Collaborator

abdnh commented Jan 17, 2026

The launcher checks the glibc version by the way (see ensure_glibc_supported) but adding a check here too might still be useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants