UPDATE: No, it is not safe to delete these snaps. I deleted them and can no longer open three of my applications. Attempt at opening Visual Studio Code:
~$ code
internal error, please report: running "code" failed: cannot find installed snap "code" at revision 33: missing file /snap/code/33/meta/snap.yaml
The snaps in /var/lib/snapd/snaps
are taking up 2.0 GB of space on my disk right now. I want to clear up space, but I'm not sure if deleting these snaps is safe (if so, can I just run sudo rm -rf *
?)
This is what I see when I run snap list
:
code_32.snap gnome-3-28-1804_116.snap gnome-logs_93.snap
code_33.snap gnome-3-34-1804_27.snap gnome-system-monitor_135.snap
core18_1705.snap gnome-3-34-1804_33.snap gnome-system-monitor_145.snap
core18_1754.snap gnome-calculator_730.snap gtk-common-themes_1502.snap
core_8935.snap gnome-calculator_748.snap gtk-common-themes_1506.snap
core_9066.snap gnome-characters_495.snap partial
discord_109.snap gnome-characters_539.snap spotify_36.snap
gnome-3-28-1804_110.snap gnome-logs_100.snap spotify_41.snap
What are the gnome, code,
and core
snaps?
I've installed discord and spotify. Will deleting the discord
and spotify
snaps lead to any issues with opening those applications?
I'm using Ubuntu 18.04.3 LTS.
snaps
directory and usedsudo rm -rf
to manually delete each snap, instead of deleting withsudo apt purge snapd
. The reason I didn't use that command is because I wasn't sure if it was safe to delete the wholesnaps
directory. Are you absolutely sure purging and reinstalling snapd is safe?sudo apt purge snapd
will remove the package and all config files. I'm not 100% certain if it'll be completely successful, but I would definitely try that first.