Why is the Void Linux version outdated?

Hello guys, i have an error while trying to add a note type from the Manage Note Types menu.

It gives the following report:

An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.15 (442df9d6) Python 3.10.4 Qt 5.15.2 PyQt 5.15.5
Platform: Linux
Flags: frz=False ao=False sv=1

Caught exception:
File “/usr/share/anki/aqt/models.py”, line 83, in onAdd
m = AddModel(self.mw, self).get()
File “/usr/share/anki/aqt/models.py”, line 173, in init
if isinstance(name, collections.Callable):
<class ‘AttributeError’>: module ‘collections’ has no attribute ‘Callable’

Is it fixable anyhow?

Actually, while scrolling through the forum, I found that this version of Anki is way outdated - so I changed the topic name.

I am using Void Linux with the musl library and i got Anki from it’s xbps package manager. Why is the version so outdated?.. If you’re not planning on updating the package, why bother; provide us voidlings with alternative ways.

Glibc repo is also on 2.1.15 according to Enter the void - Packages

Because it’s not published by Anki’s developer(s).

Linux distributions often include out of date, unstable, or broken versions of Anki, or don’t provide the library versions Anki requires. Because of this, we are only able to provide support for the packaged builds of Anki we provide on our website. If you’re experiencing issues, the first thing you should try is switching to the latest packaged version we provide.

Compiled builds of Anki are available on https://apps.ankiweb.net. All the necessary libraries are included, and Anki has been tested to work with these library versions.

If you want to continue using the version of Anki from your distribution, please report any issues you encounter to the people who packaged it.

From: Third party Linux packages and source builds are not supported / Anki Ecosystem / Knowledge Base - AnkiMobile/AnkiWeb Support


Anki’s build system requires glibc, so you won’t be able to run recent versions on a musl-based distro unless you do so in a container, or contribute fixes upstream.

1 Like

I see. This makes sense.