I was going to remove a snap version of Thunderbird and nearly maxed my root system partition. In an effort to free space I used sudo ncdu -x/var
and drilled into /var/lib/snapd/snaps
to reveal the following sample (minus the ones I deleted because I thought they were old versions and no longer needed):
1.2 GiB [##########] android-studio_155.snap 854.9 MiB [###### ] intellij-idea-community_498.snap 505.1 MiB [#### ] gnome-42-2204_176.snap 496.3 MiB [### ] wine-platform-runtime-core20_114.snap 453.1 MiB [### ] wine-platform-7-devel-core20_24.snap 349.7 MiB [## ] gnome-3-38-2004_143.snap 346.9 MiB [## ] wine-platform-runtime_370.snap
What's seen above is a sample of what I have left after having deleted same named items with a lower number (thinking they were extraneous and outdated). I was fine until I rebooted and this is a small sampling of the log indicating the problems I have that no longer have me able to run what you see above, as well as things used in WINE, along with Firefox and Thunderbird:
May 10 20:17:03 Studio kernel: /var/lib/snapd/snaps/android-studio_153.snap: Can't open blockdev May 10 20:17:03 Studio kernel: loop0: detected capacity change from 0 to 16 May 10 20:17:03 Studio kernel: loop1: detected capacity change from 0 to 2545000 May 10 20:17:03 Studio kernel: /var/lib/snapd/snaps/apktool_63.snap: Can't open blockdev May 10 20:17:03 Studio kernel: loop2: detected capacity change from 0 to 157928 May 10 20:17:03 Studio kernel: loop3: detected capacity change from 0 to 8 May 10 20:17:03 Studio kernel: /var/lib/snapd/snaps/canonical-livepatch_264.snap: Can't open blockdev May 10 20:17:03 Studio mount[334]: mount: /snap/android-studio/153: special device /var/lib/snapd/snaps/android-studio_153.snap does not exist. May 10 20:16:47 Studio systemd[1]: Starting Create Static Device Nodes in /dev... May 10 20:16:47 Studio systemd-modules-load[303]: Inserted module 'lp'May 10 20:17:03 Studio mount[336]: mount: /snap/apktool/63: special device /var/lib/snapd/snaps/apktool_63.snap does not exist. May 10 20:16:47 Studio systemd[1]: Finished Coldplug All udev Devices. May 10 20:16:47 Studio systemd-modules-load[303]: Inserted module 'ppdev'May 10 20:16:47 Studio systemd[1]: Starting Helper to synchronize boot up for ifupdown... May 10 20:17:03 Studio mount[339]: mount: /snap/canonical-livepatch/264: special device /var/lib/snapd/snaps/canonical-livepatch_264.snap does not exist.
I've searched for possible answers, but haven't come up with anything. Note that I have run sudo apt update successfully. I've also verified that snapd is installed. However because of the multitude of items that aren't found during boot and mounting, I have pretty much anything related to snap in an unusable state right now. I'd appreciate any help the group has to offer. I'm guessing I either need to find a way to reload those things which I removed OR I was right, they were deprecated, but they need to be inactivated somewhere else that I don't know about so that the system isn't tripping over itself trying to load something it can't.