
Debian Buster(Gnome Wayland)のAtomがバージョン1.47.0にアップデートされた後、エディタは実行されなくなりました。エラーは発生せず、Atomプロセスもありませんtop
。
答え1
端末を介してエディタを起動すると、エラーが表示されます。
/usr/bin/atom, linha 190: 3300 Trace/breakpoint trap nohup "$ATOM_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$ATOM_HOME/nohup.out" 2>&1 [3300:0520/012550.477548: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 /usr/share/atom/chrome-sandbox is owned by root and has mode 4755.
そのため、次のように/usr/share/atom/chrome-sandboxの権限を変更しました。
chmod 4755 /usr/share/atom/chrome-sandbox
Atomは再び作業を開始します。
答え2
バージョン1.47.0にアップデートしましたが、同じ問題が発生しました。前述のように権限を変更できますが、現在より良い解決策は以前のバージョンにダウングレードすることです。
このコマンドは、ダウングレードできるすべてのバージョンを表示します(v1.46.0を選択する必要があるかもしれません)。
sudo apt-cache policy atom
実行直後:
sudo apt install atom=1.46.0
ちなみに、これはresources.list.dディレクトリにAtomリポジトリがあると仮定します。あなたは確認できます:
cd /etc/apt/sources.list.d
ls
その後、atom.listが表示されます。そうでない場合は参照してくださいアトムのインストール