On Ubuntu 16.04 I used the Software application to install Okular. It did not show up in the dash. So I went to a terminal to start it. I got this messsage:
You need to connect this snap to the kde-frameworks-5 snap.
You can do this with those commands:
snap install kde-frameworks-5
snap connect okular:kde-frameworks-5-plug kde-frameworks-5:kde-frameworks-5-slot
I ran the "snap install kde-frameworks-5" command and it appears to have worked. If I re-run it (due to Okular continuing to tell me to) I get:
snap "kde-frameworks-5" is already installed, see "snap refresh
--help"
Running the "snap connect ..." command does not give a similar message. It appears to toggle it's output slightly. One time:
[/] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
[-] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
[\] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
[|] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
another:
[/] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
[-] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
[\] Connect okular:kde-frameworks-5-plug to kde-frameworks-5:kde-frameworks-5-sl
But trying to start Okular just keeps giving me the original message that I need to download and connect.
You should run both commend with root user or
sudo
I got same issue that running
okular
asking me to do that. I checkedsnap interfaces | grep okular
and it seems good:So I reinstalled
okular
leftkde-frameworks-5
installed. Now it works fine:It seems to me a bug, if you are interested please report it against
snapd
package.