snapcrafters / atom

:atom: A community-maintained package to easily install Atom on Linux
https://snapcraft.io/atom
MIT License
25 stars 10 forks source link

Atom not starting in Ubuntu snap #68

Open samgooi4189 opened 3 years ago

samgooi4189 commented 3 years ago

I am not able to start up Atom editor today. I tried the following commands:

atom --version atom atom .

All will not bring up atom editor, then I reinstall Atom editor through the Ubuntu Software (Snap). It is still not working after reinstall.

The current version is 1.54.0 Ubuntu version 5.4.0-62-generic #70~18.04.1-Ubuntu

You can see from the snap store comments that the editor is not starting up after update. I am using this editor as my daily driver, hope there is a quick fix for this soon.

vivsunny commented 3 years ago

I was facing the same issue since yesterday. I think the issue is related to https://github.com/snapcrafters/atom/pull/67 as the got the same error as mentioned in https://github.com/snapcrafters/atom/pull/67 when trying to run atom manually .

For now, I have just reverted atom to the last version and that has fixed the issue. See https://askubuntu.com/questions/1198022/how-to-run-a-previous-version-of-a-snap-package on how to revert snap to an earlier version.

$ snap list atom --all Name Version Rev Tracking Publisher Notes atom 1.53.0 265 latest/stable snapcrafters disabled,classic atom 1.54.0 270 latest/stable snapcrafters classic

$ sudo snap revert atom

eeucalyptus commented 3 years ago

I confirm this on Ubuntu 18.04. No output from atom. It returns 0 immediately

johnwolf1987 commented 3 years ago

I also have the same problem when trying to launch atom since a couple of days:

atom_atom.desktop[4548]: /snap/atom/270/bin/launcher: line 11: [: missing ]'

For now, I uninstalled it and re-installed it via apt-get (and it works), but would gladly revert back to the snap version if it gets fixed.

theBest3000 commented 3 years ago

Same issue here. Ubuntu 18.04.5 with Atom 1.54.0.

mdehollander commented 2 years ago

The snap package for Atom is still broken for me on Ubuntu 18.04 LTS. In syslog there is a message saying:

atom[491616]: segfault at 1 ip 00007f9f44c837b8 sp 00007ffd56bbfae8 error 6 in libc-2.31.so[7f9f44b1a000+178000]

Installing atom via apt using the deb from packagecloud installed the latest version 1.58.0 (july). The snap provided version is also not up to date (1.57.0, june). It would be nice if the snap package would be updated (automatically) and work in the LTS release.