[SOLVED]Mageia, Flatpak & Anki
I would like to install Anki via Flatpak in the Mageia 9 Xfce desktop version of Linux and would appreciate some help with the errors shown below. Even though the Flatpak installation steps all seem to complete without error Anki fails to run.
To begin I followed the instructions at https://flatpak.org/setup/Mageia to install Flatpak and https://flathub.org/en/apps/net.ankiweb.Anki to install Anki
At a command line I used “flatpak run net.ankiweb.Anki” and generated the following errors:
Any comments or suggestions on the above errors or any installation checks that could be done would be much appreciated
Please use code tags for terminal output. ~Germ
To begin I followed the instructions at https://flatpak.org/setup/Mageia to install Flatpak and https://flathub.org/en/apps/net.ankiweb.Anki to install Anki
At a command line I used “flatpak run net.ankiweb.Anki” and generated the following errors:
- Code: Select all
Starting Anki 25.09.2…
Qt warning: Qt: Session management error: Could not open network socket
2026-04-15 20:01:00,102:INFO:aqt.mediasrv: Serving on http://127.0.0.1:40375
[2:26:0415/200121.947694:ERROR:bus.cc(408)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
libva error: /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so init failed
Starting main loop…
blocked main thread for 517ms:
File “/app/bin/anki”, line 8, in
sys.exit(run())
File “/app/lib/python3.13/site-packages/aqt/init.py”, line 565, in run
_run()
File “/app/lib/python3.13/site-packages/aqt/init.py”, line 772, in _run
app.exec()
File “/app/lib/python3.13/site-packages/aqt/progress.py”, line 121, in handler
func()
File “/app/lib/python3.13/site-packages/aqt/main.py”, line 231, in on_window_init
fn()
File “/app/lib/python3.13/site-packages/aqt/main.py”, line 330, in setupProfile
self.loadProfile()
File “/app/lib/python3.13/site-packages/aqt/main.py”, line 512, in loadProfile
if not self.loadCollection():
File “/app/lib/python3.13/site-packages/aqt/main.py”, line 650, in loadCollection
self._loadCollection()
File “/app/lib/python3.13/site-packages/aqt/main.py”, line 686, in _loadCollection
self.col = Collection(cpath, backend=self.backend)
File “/app/lib/python3.13/site-packages/anki/collection.py”, line 152, in init
self.reopen()
File “/app/lib/python3.13/site-packages/anki/collection.py”, line 293, in reopen
self._backend.open_collection(
File “/app/lib/python3.13/site-packages/anki/_backend_generated.py”, line 143, in open_collection
raw_bytes = self._run_command(3, 0, message.SerializeToString())
File “/app/lib/python3.13/site-packages/anki/_backend.py”, line 167, in _run_command
print(“”.join(traceback.format_stack()))
Any comments or suggestions on the above errors or any installation checks that could be done would be much appreciated
Please use code tags for terminal output. ~Germ