Can't remove core18 snap
Snap packages are based on a runtime, which is either core
(Ubuntu 16.04), core18
(Ubuntu 18.04), core20
(Ubuntu 20.04).
A developer of a snap package can choose to base it on a specific runtime version. The choice of core18
is a good option because the runtime includes most of the stuff that LXD needs (at the appropriate versions), and thus the LXD snap package saves space.
If you install more snap packages, and they also use core18
, then you are saving space because the same runtime is reused.
If you install GUI snap packages, then they will likely pull in the additional runtime for GNOME. Again, these are shared among other GUI snap packages.
Comments
-
oᴉɹǝɥɔ over 1 year
I am cleaning up my fresh Ubuntu 20.04 install and I can't seem to remove
core18
snap.$ snap list Name Version Rev Tracking Publisher Notes core18 20200427 1754 latest/stable canonical✓ base lxd 4.1 15359 latest/stable/… canonical✓ - snapd 2.45 7777 latest/stable canonical✓ snapd $ snap remove core18 error: cannot remove "core18": snap "core18" is not removable: snap is being used by snap lxd.
What IS
core18
and why do I need it so much that it won't let me remove it? Most online references I found say it is for IoT or embedded devices. Since my workstation is such a device I don't see why I need it. I am planning to uselxc
containers but why do I needcore18
for that? -
oᴉɹǝɥɔ almost 4 yearsThis makes more sense than the resources I read before, thanks. It's odd they ship
lxd
withcore18
on 20.04 by default but it's beyond the scope of my question. -
user4124 almost 4 yearsUbuntu 20.04 becomes "stable" when Ubuntu 20.04.1 gets released. That happens at the end of July 2020.
-
Timo almost 3 yearsI use
buntu 20.04.2 LTS
and have 4 as a minimal set of snap packages:gnome-3-28-1804
,core
,core18
andsnapd
.