我在 x64 PC 上使用 Ubuntu 18.04.5。Okular 的打包版本对我来说太旧了,所以我安装了最新的 Okular snap。不幸的是,它在启动时崩溃了。以下是日志:
paul@extra:~$ snap list
Name Version Rev Tracking Publisher Notes
core18 20201210 1944 latest/stable canonical✓ base
gnome-3-34-1804 0+git.3556cb3 60 latest/stable/… canonical✓ -
gnome-calculator 3.38.0+git7.c840c69c 826 latest/stable/… canonical✓ -
gnome-characters v3.34.0+git9.eeab5f2 570 latest/stable/… canonical✓ -
gnome-logs 3.34.0 100 latest/stable/… canonical✓ -
gnome-system-monitor 3.36.0-12-g35f88a56d7 148 latest/stable/… canonical✓ -
gtk-common-themes 0.1-50-gf7627e4 1514 latest/stable/… canonical✓ -
kde-frameworks-5-qt-5-14-core18 5.68.0 4 latest/stable kde✓ -
snapd 2.48.2 10707 latest/stable canonical✓ snapd
paul@extra:~$ sudo snap install okular
okular 20.04.0 from KDE✓ installed
paul@extra:~$ okular
Qt: Session management error: Could not open network socket
Fontconfig warning: FcPattern object weight does not accept value [0 205)
Segmentation fault (core dumped)
从 Gnome 启动 Okular 也失败了。顺便说一句,出于某种原因,有两个 Okular 图标,它们的行为相同:
我将不胜感激任何能够解决此问题的线索。
编辑
根据要求提供更多系统信息:
paul@extra:~$ which okular
/snap/bin/okular
paul@extra:~$ okular --version
Qt: Session management error: Could not open network socket
okular 1.10.0
paul@extra:~$ dpkg -l | grep -i okular
paul@extra:~$ apt list -a --installed okular*
Listing... Done
paul@extra:~$
这个okular 1.10.0
版本令人惊讶,因为我正在安装 Okular snap,它应该是 v20.04.0。