atom icon indicating copy to clipboard operation
atom copied to clipboard

Atom not starting in Ubuntu snap

Open samgooi4189 opened this issue 4 years ago • 5 comments

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.

samgooi4189 avatar Jan 17 '21 06:01 samgooi4189

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

vivsunny avatar Jan 18 '21 09:01 vivsunny

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

eeucalyptus avatar Jan 20 '21 08:01 eeucalyptus

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.

johnwolf1987 avatar Jan 21 '21 11:01 johnwolf1987

Same issue here. Ubuntu 18.04.5 with Atom 1.54.0.

theBest3000 avatar Jan 22 '21 14:01 theBest3000

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.

mdehollander avatar Sep 27 '21 09:09 mdehollander