Bug 378130

Summary: Okular snap package fails to find libKF5Parts.so.5
Product: [Applications] okular Reporter: gn.prp.gabriel
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED UPSTREAM    
Severity: crash CC: aacid, simonandric5, sitter
Priority: NOR    
Version: 1.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description gn.prp.gabriel 2017-03-27 01:08:20 UTC
Recentely i installed Okular in Ubuntu 16.04 via snap using

"sudo snap install okular"

But when I try to open Okular through the icon in the menu nothing happens, so I try in the terminal and I get this message:

"okular: error while loading shared libraries: libKF5Parts.so.5: cannot open shared object file: No such file or directory"

I already installed libKF5Parts5 through

"sudo apt install libkf5parts5"

But nothing happened.

Thanks for the attention, and sorry for the not so good English.
Comment 1 Albert Astals Cid 2017-03-27 10:32:09 UTC
Your english is good :)

Harald?
Comment 2 Harald Sitter 2017-03-27 10:38:03 UTC
snapd (the daemon managing snaps) currently doesn't properly manage dependencies of shared content snaps which results in that error as the okular snap depend on the kde-frameworks-5 snap.

This should fix it:

sudo snap remove okular
sudo snap install kde-frameworks-5
sudo snap install okular

I am going to try adding a more useful error to our snap loader.