Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: themarcman on 26 March 2024, 11:31:45

Title: Updating causes zathura to stop working
Post by: themarcman on 26 March 2024, 11:31:45
Running zathura on a pdf document returns :

Code: [Select]
cannot create context: incompatible header (1.23.11) and library (1.24.0) versions
error: could not open document

I've tried pacman -Syu an pacman -Syyu

zathura -v :

Code: [Select]
zathura 0.5.5
girara 0.4.3 (runtime: 0.4.3)
(plugin) pdf-mupdf (0.4.1) (/usr/lib/zathura/libpdf-mupdf.so)

Thank you for your time.

edit : Fixed by downgrading with
Code: [Select]
 pacman -U file:///var/cache/pacman/pkg/libmupdf-1.23.11-2-x86_64.pkg.tar.zst 
https://wiki.archlinux.org/title/Downgrading_packages

Can someone explain why is there one version ahead of the other?
Title: Re: Updating causes zathura to stop working
Post by: revsuine on 26 March 2024, 19:08:31
Thank you for sharing the solution, I had the same issue. I imagine that `zathura-pdf-mupdf` might package a different version of mupdf? And for some reason Zathura is picking the system version of mupdf?
Title: Re: Updating causes zathura to stop working
Post by: themarcman on 27 March 2024, 14:29:03
@revsuine

This got fixed yesterday evening, if you ran pacman -Syu, the the new version of zathura installed as expected.


A user suggested I use Timeshift for backups in case of problems with upgrades like this or worse.