Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the snap version won't open #876

Closed
zany130 opened this issue Apr 27, 2019 · 20 comments
Closed

the snap version won't open #876

zany130 opened this issue Apr 27, 2019 · 20 comments

Comments

@zany130
Copy link

zany130 commented Apr 27, 2019

Ubuntu 18.04 kernal 4.19.36

snap won't open trying to open form the terminal gives me this
The SUID sandbox helper binary was found but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /snap/caprine/22/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)
I have tried Uninstalling and reinstalling

@malyzeli
Copy link

malyzeli commented Apr 27, 2019

Problem occurs only with latest Caprine version 2.31.0.

Please update issue title accordingly (include version number) for better clarity.

To keep Caprine working you can rollback to previous version 2.30 using snap revert until issue is resolved.

> snap revert caprine
caprine reverted to 2.30.2

@boriseto
Copy link

boriseto commented Apr 27, 2019

He tried uninstalling and reinstalling again. I don't think that the "revert" command would help him since there is nothing to revert to now.

You can go to releases and download the 2.30.2 snap version.

@malyzeli
Copy link

Yay, good point!
In that case downloading compiled release should work..
Btw is there any way to install specific version using snap CLI?

@boriseto
Copy link

boriseto commented Apr 27, 2019

Yes. Download the snap locally and then "snap install filename - - dangerous"

@weirdbricks
Copy link

Hello,

I am seeing the same issue with 2.31.0 on Ubuntu 18:

Output:

$ caprine 
[24620:0429/082256.665293:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /snap/caprine/22/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Running with sudo gave me a different message:

sudo caprine 
[sudo] password for lamprosc: 
mkdir: cannot create directory '/run/user/0': Permission denied
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Documents': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Desktop': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Downloads': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Music': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Pictures': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Videos': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Public': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Templates': No such file or directory

Snap version:

snap list
Name               Version                     Rev   Tracking  Publisher        Notes
caprine            2.31.0                      22    stable    sindresorhus     -

Ubuntu version:

cat /etc/issue.net 
Ubuntu 18.04.2 LTS

I reverted back to the previous version by using:

sudo snap revert caprine
caprine reverted to 2.30.2

and caprine works again. Please let me know if there's any further details I can provide.

@vanushwashere
Copy link

Same error on Ubuntu-based Kde Neon distro
Reinstalled manually as @boriseto suggested

@skiwichu
Copy link

Same issue on Ubuntu 19.04

@linuxxxer
Copy link

error: cannot revert "caprine": no revision to revert to
I tried to revert Caprine on Linux Mint 19.1, apparently this error I got

@sloika
Copy link

sloika commented May 2, 2019

I also cannot revert it, so I downloaded the previous version (2.30.2). It works well so far.

@linuxxxer
Copy link

I installed the previous version too, works good, only icon is missing, but it doesn't matter for me.

@xaviervilla
Copy link

16.04 affected as well.

as malyzeli stated above, snap revert caprine fixed the issue immediately 👍

@p3x-robot
Copy link

do you guys if it works with 5.0.2?

@ztangent
Copy link

Seems like it's fine with the latest Caprine update! (Version, 2.31.1, installed using the .deb version, haven't tried through Snap.)

@yerbestpal
Copy link

@ztangent this issue is related to the snap build only.

@p3x-robot
Copy link

if there is an appimage, same issue

@inoculos
Copy link

Hello,

I am seeing the same issue with 2.31.0 on Ubuntu 18:

Output:

$ caprine 
[24620:0429/082256.665293:FATAL:setuid_sandbox_host.cc(157)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /snap/caprine/22/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap (core dumped)

Running with sudo gave me a different message:

sudo caprine 
[sudo] password for lamprosc: 
mkdir: cannot create directory '/run/user/0': Permission denied
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Documents': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Desktop': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Downloads': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Music': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Pictures': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Videos': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Public': No such file or directory
ln: failed to create symbolic link '/root/snap/caprine/22/snap/caprine/22/Templates': No such file or directory

Seems off those files are in /Root. Would chown allow them to load? I am curious if thats is were they install in working versions.

@sindresorhus
Copy link
Owner

There's a new version out. Can you check if that works better?

@hhsnopek
Copy link

@sindresorhus it's now working on Ubuntu 18.04.2, kernel 4.15.0-1043, snap version 2.39

thank you for the release 🎉

@sindresorhus
Copy link
Owner

Great!

@Nantris
Copy link

Nantris commented Sep 24, 2019

@sindresorhus can you describe how you resolved this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests