Skip Navigation

Ubuntu Snap Hate

I've gathered that a lot of people in the nix space seem to dislike snaps but otherwise like Flatpaks, what seems to be the difference here?

Are Snaps just a lot slower than flatpaks or something? They're both a bit bloaty as far as I know but makes Canonicals attempt worse?

Personally I think for home users or niche there should be a snap less variant of this distribution with all the bells and whistles.

Sure it might be pointless, but you could argue that for dozens of other distros that take Debian, Fedora or Arch stuff and make it as their own variant, I.e MX Linux or Manjaro.

What are your thoughts?

86 comments
  • Well, things like the fact that snap is supposed to be a distro-agnostic packaging method despite being only truly supported on Ubuntu is annoying. The fact that its locked to the Canonical store is annoying. The fact that it requires a system daemon to function is annoying.

    My main gripes with it stem from my job though, since at the university where I work snap has been an absolute travesty;
    It overflows the mount table on multi-user systems.
    It slows down startup a ridiculous amount even if barely any snaps are installed.
    It can't run user applications if your home drive is mounted over NFS with safe mount options.
    It has no way to disable automatic updates during change critical times - like exams.

    There's plenty more issues we've had with it, but those are the main ones that keep causing us issues.
    Notably Flatpak doesn't have any of the listed issues, and it also supports both shared installations as well as internal repos, where we can put licensed or bulky software for courses - something which snap can't support due to the centralized store design.

    • Flatpak also isn't built on custom designs. It actually is portable and can even run on bare systems as long as there is glibc

      • When I last checked (and that is a long time ago!) it ran everywhere, but did only sandbox the application on ubuntu -- while the website claimed cross distribution and secure.

        That burned all the trust I had into snaps, I have not looked at them again. Flatpaks work great for me, there is no need to switch to a wannabe walled garden which may or may not work as advertised.

  • I hate snap, because their store is proprietary and i think forcing something with a proprietary store on you is microsoft level shit which is why i left in the first place.

    Also i dont like being "forced", theyre doing that a little with the apt install sometimes going to snap install

  • In addition to what's already been said, Canonical have a history of starting grandiose projects and then abandoning them a few years later. See Mir, Unity, and Ubuntu Touch for examples.

    • They are like Google as they kill the popular or useful projects and keep the hated ones.

  • I think most people hate Snaps because Ubuntu is replacing .deb packages with snaps with no user prompt and that is a cardinal sin in Linux against the freedom and power of the user. Being "bloated" can't help either when package maintainers do all what they can to ship programs light and simple. So it goes against at least two Linux principles.

  • When I install this snap am I getting a kernel driver, a native raw binary, or a containerized user application that conforms to a communication interface? Who knows! They're all mostly undifferentiated in the store.

    What about a third party store? Only if you fork the snap daemon and change the hard coded URL. And good luck with that mandatory Canonical contributer agreement you have to sign.

    Want to pick when your apps update? Nope. That's the official stance. They will never support that. But here's a way to manually block network access to the daemon if you really really need to. But then everything will update at once when you give it access again.

    Want a specific version of a snap? See above. Explicitly will never be an option.

    "I guess there's a fee to pay to get access to quality apps." Incorrect. There is no real vetting process for what's added to the store, there's barely even minimal checking that you're not overwriting someone else's snap. You do have to sign the Canonical contributor agreement, and setup an identity to submit as, but even if your snap is proven to be malware there a good chance it will stay in the store, or can be immediately re-uploaded.

    • Not to mention snap is overly complicated for what it is. If it breaks good luck as you probably can't fix it without starting over.

  • I'm personally not a fan of any universal packaging solution. I've tried flatpaks, appimages, and snaps, and ran into weird, annoying issued that I just never have when I install via package manager, build from source or even just run a portable build of an app.

    I see the appeal of a universal package, but imo a bigger emphasis on portable native builds would solve a lot of the issues these packaging solutions are aiming for, while not introducing many of the downsides

  • Lost a couple hours of work on the snap version of krita since it couldn't save the file for some reason. Switched away from Ubuntu as a whole after that experience.

  • I like snap. On Ubuntu, it does everything Flatpak does and it can also do system components. It's a system that allows to build a complete OS with the benefits of Flatpak. It's a fairly well designed system and it came earlier than Flatpak. It works well for Ubuntu and its developers. There's a lot of misinformation around it and the wider community seems to have jumped on the Flatpak wagon. That means we're unfortunately gonna get mixed classic-base (deb, rpm) with Flatpak apps OSes in the longer term, instead of full Snap OSes. That's a lame compromise but it is what it is. Not the first time the Linux community chooses technically interior tech for ideological reasons. Ultimately we use other people's labor so we get what they decide and that's alright. Classic core plus Flatpak is still way better than the all-classic status quo so I ain't mad.

  • I remember back in 2018 when they forced snaps on everyone despite them being broken.

    I had recently updated to the new 18 or 19 release and I was installing a command line tool. I did apt install and then it called snap which then didn't work. Snaps are broken by design as they way the handle software is problematic. They put everything into mounted volumes and the sandboxing isn't terribly robust. It really doesn't help that they force you to use it.

  • As you can probably tell by all the lovely comments about Snaps, that's the reason. Snaps is crap, by design.

86 comments