kinu-garage / hut_10sqft

Computer setup tools for my own environment, and public discussion place holder.
2 stars 1 forks source link

[rpi3-1] Emacs on Ubuntu Core #475

Open 130s opened 4 years ago

130s commented 4 years ago

https://github.com/130s/hut_10sqft/issues/474#issuecomment-707649893

130s commented 4 years ago

https://askubuntu.com/a/1210562/24203 (I think the poster works for Canonical :) helped me to switch to classic confinement. But I'm still told I'm not on classic.

$     sudo snap install --channel=18 classic
snap "classic" is already installed, see 'snap help refresh'
(classic)uo130s@localhost:~$ exit
logout
uo130s@localhost:~$ sudo snap refresh --channel=18/edge --devmode classic
classic (18/edge) 18.04-0.1 from Canonical✓ refreshed
uo130s@localhost:~$ sudo classic
(classic)uo130s@localhost:~$ tmux
tmux: command not found
(classic)uo130s@localhost:~$ snap install tmux
error: snap "tmux" is not available on stable but is available to install on the following
       channels:

       edge       snap install --edge tmux

       Please be mindful pre-release channels may include features not completely tested or
       implemented. Get more information with 'snap info tmux'.
(classic)uo130s@localhost:~$ snap install --edge tmux
error: snap "tmux" requires classic confinement which is only available on classic systems

(classic)uo130s@localhost:~$ snap install emacs
error: snap "emacs" requires classic confinement which is only available on classic systems
(classic)uo130s@localhost:~$ sudo snap install emacs
error: snap "emacs" requires classic confinement which is only available on classic systems
130s commented 2 years ago
uo130s@localhost:~$ snap install emacs --classic
error: snap "emacs" requires classic confinement which is only available on classic systems
130s commented 2 years ago

Don't worry about Ubuntu Core limitation for rpi3-1, as I decided to use this computer to see how Snap goes https://github.com/130s/hut_10sqft/issues/474#issuecomment-971170027

130s commented 2 years ago

Still no good.

rpi3-1@localhost:~$ sudo snap install emacs --classic
error: snap "emacs" requires classic confinement which is only available on classic systems
rpi3-1@localhost:~$ sudo snap install classic
snap "classic" is already installed, see 'snap help refresh'
rpi3-1@localhost:~$ sudo classic

(classic)rpi3-1@localhost:~$ snap install emacs --classic
error: snap "emacs" requires classic confinement which is only available on classic systems
(classic)rpi3-1@localhost:~$ sudo snap install emacs --classic
error: snap "emacs" requires classic confinement which is only available on classic systems
(classic)rpi3-1@localhost:~$ 

Ref. https://emacsredux.com/blog/2020/07/18/installing-emacs-via-snap/