Delete snapd

Hello,
I want to delete all my snap files. After some installations but it doesn’t work anymore today. After looking for some tips I think something is destroyed, so I want to remove everything and start from the beginning

just using your systems package manager to remove snapd should remove all snaps along with it … i.e. on an ubuntu install i’d do:

sudo apt purge snapd

for other distros there should be equivalent commands …

After telling the system to remove snapd it tells me
Problem: The operation would result in removing the following protected packages: kernel-debug-core
And it doesn’t go further

what OS is that ?

I have Fedora, sorry, should have that written in the beginning.
My main problem is that everytime I want to install something with snap I only see
cannot perform operation: mount --rbind /dev /tmp/snap.rootfs_3mbeLz//dev: No such file or directory
Because it worked before without problems, I thought it helps to completely remove it and start from the beginning.