Skip to content

Instantly share code, notes, and snippets.

@Xantios
Created October 27, 2020 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Xantios/f506d715b2b3d7925c7c201d8d9621d6 to your computer and use it in GitHub Desktop.
Save Xantios/f506d715b2b3d7925c7c201d8d9621d6 to your computer and use it in GitHub Desktop.
Removing snapd from Ubuntu

Why?

Because Snapd can blow my magic flute, there is just some much wrong with snapd that i COULD write a gist on that. but it would get pretty ranty

Fair enough, so how ?

First of they ship the new versions of Ubuntu server with LXD and some stuff pre-installed. so first make sure they fuck off by running:

sudo snap remove snap-store
sudo snap remove lxd
sudo snap remove core18
sudo snap remove snapd

Persistent bitch has a mount point

On ubuntu 20.04 this cleans itself out when you tell snapd to fuck off. but if you happen to be stuck on 19.04 just go on...

df | grep snap

Output ends with some numbers (eg: 8542), write them down.

sudo umount /snap/core/xxxx

Goodbyes are forever

sudo apt purge snapd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment