How do you get past "snap kde-frameworks-5" issue to run Okular?

Solution 1:

You should run both commend with root user or sudo

sudo snap install kde-frameworks-5
sudo snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot

I got same issue that running okular asking me to do that. I checked snap interfaces | grep okular and it seems good:

:home                                   okular
:network                                okular
:network-bind                           core,okular
:opengl                                 okular
:pulseaudio                             okular
:unity7                                 okular
:x11                                    okular
kde-frameworks-5:kde-frameworks-5-slot  okular:kde-frameworks-5-plug
okular:session-dbus-interface

So I reinstalled okular left kde-frameworks-5 installed. Now it works fine:

sudo snap remove okular
sudo snap install okular

It seems to me a bug, if you are interested please report it against snapd package.