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?

  • MyNameIsRichard@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago

    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.

  • youmaynotknow@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

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

  • Avid Amoeba@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago

    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.

  • DumbAceDragon@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    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.

  • Presi300@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    The problem with snap isn’t that it’s useless, it’s that it’s garbage. Snaps are just plain worse in every way, compared to other packaging formats. They impact boot time A LOT… like A LOT A LOT on a hard drive, use a ton of space, are slow to launch unless you use like tricks or what not to speed up consequent launches after the 1st one, the store backend is proprietary and poorly moderated, the store is slow and unresponsive, and cannonnical is pulling some real micro$oft-esk shit to try and force them on users… Stuff like aliasing apt commands to snap, disallowing ubuntu spins to ship flatpak by default, etc…

    The only redeeming quality that snaps have is that you can run CLI/server programs as a snap, and even then, just use docker lmao.

  • THCDenton@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    Its been a while but the last time I was running ubuntu I ran into an infuriating issue related to snaps. To be fair I can’t remember the exact details and it was related to some web dev stuff. All I remember is that I quit Ubuntu for a while fighting with snaps for a day or two.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      I got so mad at Ubuntu when it kept installing snaps instead of native packages. It pushed me over the edge when I learned that a bunch of CLI software was snap only.

      • vithigar@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        My breaking point was when the dotnet CLI installed as a snap, which of course isolated its environment, which made it unable to interoperate correctly with the projects I was trying to build.

        Asinine.

  • wiki_me@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Calling it hate is an exaggeration , people are entitled to their opinion and informing other people by criticizing snap.

    Another advantage not mentioned is that snap is a product of canonical (a for profit company talking about an IPO for years), flathub is managed by the gnome foundation (a US registered non profit, which should provide some legal protection).

    • phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      5 months ago

      I think hate is the right word. Snap sucks for a long list of reasons, a few years ago it was pushed down everyone’s throats whilst still being broken (it would even break OS upgrades due to being broken, even if you didn’t even use it, fun times) and then canonical started redirecting apt to snap… Yeah, hate is the right word, same with systemd

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      I could care less about legal status. In fact, I think it would be cool to have a profitable software center that was able to allow for projects to get more funding.

      • wiki_me@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        paradoxically just because an organisation is a non profit does not mean it does not sell anything, it means that the people who “own” it are not doing it for a profit (e.g. voting members, board members , that is what is suppose to be legally guaranteed ), for example the wikimedia foundation (the creator of wikipedias ) sells access to data, MIT university for example is also a non profit.

        and i feel like the profit incentive might cause problems for the snap store, flathub warns when an app is closed source so it might be risky to use it, snap does not do that and maybe that is because that could hurt profits.

  • bigmclargehuge@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    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

  • TheAnonymouseJoker@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago

    Snap hate is largely illogical and brain dead in my view and experience. I see them at same level as systemd haters. We know how that turned out.

    Snap is the only packaging system that provides sandboxing for system applications. But nobody will tell you this.

    I no longer use Ubuntu since I matured enough for Debian, but I can use Ubuntu over other immature or weird distros any day.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      If it was a cool optional thing they were experimenting with it might be different. The problem is that it was forced onto the desktop

  • Wispy2891@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I especially hate how it ruins the df -h command. Install a dozen snaps and it becomes unreadable

  • aaravchen@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    5 months ago

    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.

  • Ananace@lemmy.ananace.dev
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    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.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      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

      • Tobias Hunger@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        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.