I'm not trying to start another snap war, but it's creating the following issue for me:
Problem:
For years, I've set aside 30 GB for each / on my main multiboot box, which has always been more than enough. But, to my consternation, I've discovered that I'm running out of space on one of them. A quick scan shows the following:
This is nuts. ≈2 GB for an app like Telegram??? I can't get rid of snap entirely because I rely on LXD which only comes as a snap these days, but I will delete my Telegram, Signal and MakeMKV snaps and reinstall them as PPAs instead (though it grates on me to add PPAs), so those are solvable. But the following questions remain:Code:duckhook@Zeus:~$ sudo du -cha --max-depth=1 /snap | grep -E "M|G" [sudo] password for duckhook: 1.6G /snap/makemkv 868M /snap/kde-frameworks-5-core18 395M /snap/core20 486M /snap/lxd 4.0K /snap/README 846M /snap/signal-desktop 1.1G /snap/gnome-3-38-2004 678M /snap/gtk-common-themes 1.7G /snap/gnome-3-34-1804 312M /snap/snap-store 338M /snap/core18 1.3G /snap/gnome-3-28-1804 1.8G /snap/telegram-desktop 596M /snap/core 12G /snap 12G total
- Why do I have (?):
The description reads:Code:kde-frameworks-5-core18..but I don't run KDE. I run vanilla Ubuntu with Gnome, so why do I need this? Can it be safely removed?Code:duckhook@Zeus:~$ snap info kde-frameworks-5-core18 name: kde-frameworks-5-core18 summary: KDE Frameworks 5 publisher: KDE✓ store-url: https://snapcraft.io/kde-frameworks-5-core18 contact: https://www.kde.org/support/ license: unset description: | KDE Frameworks are addons and useful extensions to Qt snap-id: GeIofQKAwadB4OEM8lOzdSMAc56sCNdL tracking: latest/stable refresh-date: 2020-04-24 channels: latest/stable: 5.61.0 2019-08-27 (32) 273MB - latest/candidate: 5.67.0 2020-02-17 (35) 303MB - latest/beta: ↑ latest/edge: 5.54.0+p18.04+git20190115.0202 2019-01-16 (25) 250MB - installed: 5.61.0 (32) 273MB -- Likewise, why (?):
Are all of these needed? Are any needed? The descriptions are singularly unhelpful and it seems that my websearch-fu has gone AWOL:Code:gnome-3-28-1804 gnome-3-34-1804 gnome-3-38-2004I've moved on from 18.04 years ago. I'm guessing that at least two of these are redundant and have been superseded by their newer replacements, but cannot be sure―it's a wild guess. If so, why have such bloated stubs been left hanging around? Wouldn't the network upgrade process have cleaned them up?Code:duckhook@Zeus:~$ snap info gnome-3-28-1804 name: gnome-3-28-1804 summary: Shared GNOME 3.28 runtime for Ubuntu 18.04 publisher: Canonical✓ store-url: https://snapcraft.io/gnome-3-28-1804 contact: https://gitlab.gnome.org/Community/Ubuntu/gnome-3-28-1804/issues license: unset description: | This snap includes a GNOME 3.28 stack (the base libraries and desktop integration components) and shares it through the content interface. snap-id: TKv5Fm000l4XiUYJW9pjWHLkCPlDbIg1 tracking: latest/stable refresh-date: 2021-07-16 channels: latest/stable: 3.28.0-19-g98f9e67.98f9e67 2021-07-08 (161) 172MB - latest/candidate: 3.28.0-19-g98f9e67.98f9e67 2021-10-26 (166) 172MB - latest/beta: ↑ latest/edge: ↑ installed: 3.28.0-19-g98f9e67.98f9e67 (161) 172MB - duckhook@Zeus:~$ snap info gnome-3-34-1804 name: gnome-3-34-1804 summary: Shared GNOME 3.34 Ubuntu stack publisher: Canonical✓ store-url: https://snapcraft.io/gnome-3-34-1804 license: unset description: | This snap includes a GNOME 3.34 stack (the base libraries and desktop integration components) and shares it through the content interface. snap-id: TIM9dBBJEceEjMpwaB3fiuZ3AdSykgDO tracking: latest/stable/ubuntu-21.10 refresh-date: 36 days ago, at 16:27 MST channels: latest/stable: 0+git.3556cb3 2021-11-22 (77) 229MB - latest/candidate: 0+git.3556cb3 2021-10-26 (77) 229MB - latest/beta: ↑ latest/edge: ↑ installed: 0+git.3556cb3 (77) 229MB - duckhook@Zeus:~$ snap info gnome-3-38-2004 name: gnome-3-38-2004 summary: Shared GNOME 3.38 Ubuntu stack publisher: Canonical✓ store-url: https://snapcraft.io/gnome-3-38-2004 license: unset description: | This snap includes a GNOME 3.38 stack (the base libraries and desktop integration components) and shares it through the content interface. snap-id: rw36mkAjdIKl13dzfwyxP87cejpyIcct tracking: latest/stable refresh-date: 36 days ago, at 16:27 MST channels: latest/stable: 0+git.cd626d1 2021-11-22 (87) 259MB - latest/candidate: 0+git.cd626d1 2021-12-17 (90) 260MB - latest/beta: ↑ latest/edge: ↑ installed: 0+git.cd626d1 (87) 259MB -- Canonical's move to snaps has left guys like me stranded high and dry. I don't want the hassle of having to grow all of my / partitions which, as a result of past shortsightedness, are packed cheek by jowl next to each other. Yet, I know that as more and more basic apps are shuffled off to snaps, this will just become a growing
painproblem. So, can I relocate /snap to another partition post install? If any of you have done this, can you point me to a decent tutorial?- Do I need both:
Is one of them also redundant/obsolete? Can core18 be safely removed?Code:core18 core20
I would normally tinker away on my own, but since this is my production box, I don't want to mess it up.
Bookmarks