Score:1

Problem with Kontena Lens and Snap

id flag

I was trying to install Kontena Lens from snap, have run this command:

sudo snap install kontena-lens --classic

It installed but the app wasn't opening. I tried to reinstall it, didn't help. Downloaded manually snap file from lens website, run this command:

sudo snap install Lens-5.2.5-latest.20211001.2.amd64.snap --dangerous --classic

It installed, but it didn't help. I'm trying to lunch the app from the icon (when you open right bottom menu), as usual apps. Thought maybe I should run it from my console with sudo, wrote

sudo lens

but it didn't help, instead of that I got this input:

/root/Desktop was removed, reassigning DESKTOP to homedir
/root/Downloads was removed, reassigning DOWNLOAD to homedir
/root/Templates was removed, reassigning TEMPLATES to homedir
/root/Public was removed, reassigning PUBLICSHARE to homedir
/root/Documents was removed, reassigning DOCUMENTS to homedir
/root/Music was removed, reassigning MUSIC to homedir
/root/Pictures was removed, reassigning PICTURES to homedir
/root/Videos was removed, reassigning VIDEOS to homedir

Did something bad happened? Do I need to change something now and how do I fix Lens problem? My Ubuntu version: Ubuntu 20.04.3 LTS.

Score:2
cn flag

Experienced this problem and here is how I solved it.

From my experience, this issue happened to me twice while using the snap installed lens both on Ubuntu 18 and 22. So my solution was to remove the one installed via snap and install a downloaded one in .deb format

  1. Uninstall the snap lens snap package
sudo snap remove kontena-lens
  1. Download the .deb file from official lens website Lens. From the dropdown select Linux X64(.deb). Even .rpm still works fine
  2. Proceed to the location where it was installed and run the following command
ls | grep -iF lens | xargs sudo dpkg -i

That should fix your problem.

Recently Lens requires you to create an account. Just use your browser to create a Free account and enjoy Lens

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.