I Fucking Hate Snaps

(ifuckinghatesnaps.com)

156 points | by kennydale 1 hour ago

27 comments

  • specproc 31 minutes ago
    The sad thing is that Ubuntu is still viewed as the easy, beginner's Linux.

    It was the first desktop distro I daily drove, after trying and failing to get into it periodically over the last few decades.

    The package management was an absolute nightmare. If I'd been less bloody-minded at the time, I may well have just bounced off it again like so many times before.

    So many issues just vanished as soon as I switched to Arch. I feel so much more relaxed installing and updating packages on a supposedly-beardy distribution, than on friendly, fluffy Ubuntu.

    I worry too many people try Ubuntu, and run into problems once they try installing things. I guess snaps are trying to make things easier, but they're just adding more friction and complexity.

    • raegis 15 minutes ago
      Debian did not make it easy to install closed drivers back then, so Ubuntu won the hearts and minds of folks who didn't care about such things. I've been using Debian stable for 20 years primarily because it does not break with a simple security update, and updates were rare (until this year, of course). However, I admit I was distro hopping at least 7 years before I settled with Debian. (RedHat, Mandrake, SuSE, Linux from Scratch, Gentoo, etc.)

      If you want to use the "latest" version of a package, you can (1) check Backports, and if not there, (2) check Testing or Sid, and if there install in a chroot (example: https://charles.plessy.org/Debian/debi%c3%a2neries/r-4.1/), or (3) worst case download and run the software as a regular user, and if the software insists on installing as root, question whether you should use it at all, given that Debian has not packaged it.

      • jordanb 9 minutes ago
        > Debian did not make it easy to install closed drivers back then, so Ubuntu won the hearts and minds of folks who didn't care about such things

        It wasn't just drivers. The Debian installer historically wasn't as good at installing a good desktop OS. I remember having task-gnome etc style packages but they felt like a crapshoot compared to the Ubuntu installer, which seemed to put a lot more effort into one-shotting a working desktop setup, especially back when there often was a lot of custom Xorg, alsa, etc configuration necessary.

        I would use debian stable for all servers but eventually switched from debian unstable, to testing, to finally ubuntu after fighting to get working desktop gui installs.

    • lubitelpospat 1 minute ago
      Are you by any chance knowledgeable on GPU support? Back in the days people would choose Ubuntu because it was the shortest path to a working GPU rig
    • Izkata 14 minutes ago
      > I guess snaps are trying to make things easier

      One of the early goals was more secure, that's where the forced automatic updates came from - preventing user from just sitting on old insecure versions of things.

    • schiffern 7 minutes ago

        >it's is still viewed as the easy, beginner's Linux
      
      What is the easy beginner's Linux? Mint or something else?

      Asking for a species...

      • eYrKEC2 2 minutes ago
        Still Ubuntu.. Now, in addition to solving driver issues by default it has an immense user base and any issue you have is very likely to have been hit and resolved by other people.
    • emj 13 minutes ago
      You got better it did not get easier. Ubuntu world great for beginners, I am sure Arch is too. You just need guardrails, sadly creating good guard rails for people who are competent at being dangerous is hard.
    • wolttam 18 minutes ago
      I went Ubuntu -> Arch (for 3 years) -> Debian Testing (going on ~5 years) and haven’t looked back. I was fighting endless quirks and breakages in Arch, that I assume aren’t in Debian testing because they wait and test a bit more before bringing in upstream releases.

      Of course, whatever works.

      • tempest_ 3 minutes ago
        I used Arch then Antergos, then Endevouros and I have had one break (nvidia drivers) in maybe 10 years.

        I know arch has that reputation but I just never bump into issues. What were your quirks and breakages?

      • fps-hero 9 minutes ago
        Debian is the Linux experience people expect. It’s only downside used to be packages would be already out of date when a new Debian version was released. I’m not sure if software releases are slowing down, or if I’m slowing down, or just way easier to download and compile software than it was 10 years ago, but it’s just not an issue I experience anymore. Debian is the way.
    • 0x38B 9 minutes ago
      > Tried to open a file from /mnt in a snapped app. Permission denied. Tried /tmp. Nothing there. Your sandbox is a prison and I’m the inmate. (1)

      Just reading people trying to work through and debug issues like this is enough to deter me from Snaps. My iPhone is already a trial enough with file management.

      1: https://ifuckinghatesnaps.com/5/

      ----

      re: arch

      I love using Arch. It feels like a Linux classroom experience, in that I've learned more and more about Linux as I've used it. Sometimes the learning curve felt steep. I love the terminal, and usually reach for it before my GUI file manager because it's just faster.

  • blauditore 0 minutes ago
    Regarding security restrictions/sandboxing: Why not use a permission-based system like Android, or browsers? It's not perfect, but works pretty okay for casual and power users.
  • jandrese 1 hour ago
    Ended up ditching Ubuntu because maintaining two completely separate repos for each release was too much effort. Offline snaps are less well documented than offline deb repos.
  • LukaD 1 hour ago
    I've never used Snap because I haven't used Ubuntu in ages. Is it so difficult to avoid Snap on Ubuntu, and if so, why not just ditch the distro?
    • gertrunde 38 minutes ago
      Ubuntu has generally been making it difficult to avoid for a while now (maybe 4+ years or so?)

      The one I found most frustrating was that they made it a dependency of the 'minimal' metapackage, so in order to remove the snap package, you also have to remove the minimal package, which then tends to mean you need to manually massage a bunch of other things.

      Although it should be noted that I think in more recent releases, the 'minimal' profile has morphed a bit, and I think Canonical intend 'minimal' to be used as a base for containers now, rather than a server OS.

      But you can just leave it twiddling its thumbs in the background, I think it's more lightweight than it originally was.

      • ahartmetz 31 minutes ago
        The cluttering of "mount" output was pretty criminal last time I used Ubuntu without purging snap. If it still does that, I still want nothing to do with it.
        • Izkata 4 minutes ago
          It does, but also snaps are less than half of the output. A ton of other stuff also clutters it up, like 14 mount points under /sys/, 3 systemd entries, 4 different tmpfs, so on and so forth.

          Back when I first switched to linux (Ubuntu 7.10), when there were only around 5-6 total entries.

        • gvurrdon 5 minutes ago
          I just looked at mount output on my simple Bazzite laptop - 38 lines.
    • raffraffraff 46 minutes ago
      They were ultimately the reason I tried Opensuse Tumbleweed, many years ago. I've never looked back.
    • loloquwowndueo 1 hour ago
      Not that difficult but it does require some command line fiddling.
      • vetrom 1 hour ago
        Ubuntu has quit shipping non-snap versions of what were standard desktop apps. This leaves you with funny issues, like a broken default Firefox installation that is not fixable, due to snap missing the knobs to do so. (compared to say a flatpak Firefox)
        • MrDresden 45 minutes ago
          Not quite. The default apt meta package (the one that will install from snap) can be blacklisted and Mozilla's own repository added and installed from.

          It is ridiculous that this has to be done, but it is possible.

          • ravetcofx 4 minutes ago
            Mint does this out of the box. Good option if you want the sane distilled good out of Ubuntu without the nonsense
        • loloquwowndueo 59 minutes ago
          I just install Firefox from Deb.
          • ahartmetz 28 minutes ago
            You can have it easier than that, there's an official apt repo with an official guide that just requires you to copy and paste a few things in a terminal. (You will need to know how to reactivate custom apt repositories after Ubuntu distro upgrades.)

            https://support.mozilla.org/en-US/kb/install-firefox-linux#w...

          • weinzierl 49 minutes ago
            If you mean you manually downloaded a deb then you might be fine.

            If you did

                sudo apt install firefox
            
            be prepared for a few surprises. Ubuntu basically hijacks apt to force snap on you.

            snap as an alternative package distribution would have been ok, but what Ubuntu does just shows that you can't trust them.

            • loloquwowndueo 47 minutes ago
              Yeah my guy I know, the distro package is a shim that installs the snap. So one has to apt pin so the package doesn’t install, nuke all snaps, then install Firefox from a ppa or other repo. Been there done that.
            • ezst 23 minutes ago
              I don't use Ubuntu so I'm out of the loop, but gosh, who in their right mind thought it would be a good idea? I would assume that your users shelling into apt know what they want and know what they are doing. That comes across as so malicious and unnecessary.
      • esikich 1 hour ago
        I tried removing it at one point and it was painful and broke things.
      • curt15 29 minutes ago
        For now. Canonical appears to be slowly sinking snap's claws ever more deeply into Ubuntu. Nudging their users toward their proprietary app store is core to their business strategy. At the same time, their corporate messaging is trying to recast the decentralization of the Linux application ecosystem as a liability.
    • torginus 44 minutes ago
      My fondest memory with snaps was when some package I was relying on turned out to be from a snap, which was installed on a forward deployed box we installed at a customer and managed remotely. That thing decided to auto-update (outside of apt get update), and nuked the ssh configs on the box, bricking the box, and making remote login impossible.

      Fixing that was fun, and involved phoning up a non-technical person at the site, and having him connect an usb keyboard and monitor, and typing in hieroglyphics over a Teams call to log what happened, and then do a factory reset.

    • tasuki 54 minutes ago
      Snaps broke me and brought me to Debian. It's like Ubuntu without the suck!
  • vsajip 1 hour ago
    I use Linux Mint, it's Ubuntu-based but doesn't push Snap (and you can disable it). What do people prefer? Flatpak? AppImage? I've installed a few Flatpak apps and not had any issues with them ...
    • dannymi 43 minutes ago
      Yes to flatpak for GUI programs. It's really nice.

      - Someone thought about security there. It uses containers, then filters some dbus (you do NOT want raw dbus accessible to random programs) and wayland (you do NOT want raw wayland accessible to random programs. At that point you could just use X--would have same (non-)security then)

      - flatseal to change the permissions--you are in control

      - on the host, flatpak guest data files are regular files in ~/.var/app . While I don't recommend changing them (though why not... if you want to), it's still nice that someone thought about security--and on the HOST, obviously you can do it all. flatpak just protects you from unsafe programs, not from yourself.

      - flatpak kill exists

      - flathub with a lot of really nice programs already done. Though you can also put some flatpaks on your own website no problem.

      - flatpak-builder and (shared) SDK images for you to build GUI programs without reinventing the universe

      - flatpak has portals--for example if the user opens a file open dialog in the guest, then the host shows it with all host files, then if a file is selected and the dialog accepted, provides just that one file to the guest. YES!

      - url handlers that makes the user be able to install a flatpak program by clicking on a link on a website and confirming

      - you can install flatpak programs as regular user

      For better or for worse, the stable ABI on GNU Linux is the Linux syscall interface. flatpak is what happens when you accept that and accept that random programs probably should not be able to read your ssh private keys.

      In general, a Linux distribution will not have all programs the end user needs. I am using Linux for 25 years now and it never changed: what is available in distributions is the lowest common denominator, the kind of stuff you would get on a $200 chromebook. The long tail is nowhere to be found. Advanced programs are in distributions only when some end users put them there and maintain them forever, always one step away from having them removed again by someone (they need a LOT of dependencies and some combination will break them). And then they are available in exactly ONE distribution. That is just stupid. I really don't want to maintain 37 kicad packages, one per distribution.

    • esikich 1 hour ago
      Apt always worked for me. Never understood why Ubuntu got rid of it. That plus paid security updates moved me to Debian.
      • loloquwowndueo 1 hour ago
        Ubuntu didn’t get rid of apt. It’s still around just not pushed in your face like snaps are.
        • esikich 59 minutes ago
          Right, but I seem to recall certain packages could only be installed with snaps or weren't available via apt.
          • loloquwowndueo 49 minutes ago
            Like which?

            Distro archives no longer provide Firefox for example; the deb package is just a placeholder that installs the snap.

            You can still install Firefox from another apt repo or PPA. It’s what I do.

            • beached_whale 6 minutes ago
              I wish they didn't make it so tedious to use mozilla's apt repos to get out of the snap firefox.
            • jmb99 18 minutes ago
              That’s exactly the problem. `sudo apt install firefox` should not install a snap.
              • loloquwowndueo 9 minutes ago
                Right but there’s quite a gap between that and “Ubuntu got rid of apt”
    • stagger87 42 minutes ago
      .zip folder with README and setup script. Been shipping commercial software like this for 20 years now, no problem.
    • acomjean 9 minutes ago
      Pop!os Linux is also Ubuntu based and uses flatpaks, at least in the latest versions 24/26 LTS .
    • iagiagiag 58 minutes ago
      AppImage is practical. It's not optimized but we're not in 1990 anymore, we don't need things to be that optimized.
    • cheschire 23 minutes ago
      apt for most, flatpak for the rest.

      But there were a couple apps I wanted to use the beta channel on, like proton mail client (before I switched to fastmail) and so I had codex make a local apt server for me.

      Also I use a windows app via wine, so codex wired up a polling service to check that site weekly for updates. It drops the latest version onto my apt server and sets a flag so that mint's updater service picks it up and deploys it. Then when I run the app next time, Wine runs the installer.

    • ChocolateGod 48 minutes ago
      Flatpak is easily the most well integrated and support (not surprised given its got developers from KDE, Freedesktop, GNOME etc).
    • stratos123 55 minutes ago
      Flatpaks are great, and are the closest thing there is to a non-Canonical-controlled snap. You get sandboxing for free, too.
    • flexagoon 53 minutes ago
      Flatpak is great for most GUI apps, though the sandboxing does cause issue in some things. Otherwise the system package manager is great.
    • amir734jj 20 minutes ago
      Me too. I switched from Ubuntu to Mint just because of Snap.
      • rpdillon 2 minutes ago
        Yep, Snap convinced me to move to Pop!_OS. I've been super happy with it across multiple machines for 5+ years. It replaces snap with flatpak, essentially, but also uses the very-slick (IMHO) Rust-based (fast) DE called Cosmic.

        https://system76.com/cosmic

        You can use it on other distros, too. It's quite good! They focus on professionals, and provide good built-in tiling capability that has good hybrid behavior with the applications that are exceptions. I use Kupfer for launching, but it has an integrated launcher that's quite slick as well.

        It's good to hear that Mint (one of my old favorites because I really like Cinnamon) has also shunned Snap.

    • loloquwowndueo 1 hour ago
      Flatpaks are horrendous too. Apt-get or bust. App image is tolerable.
      • morningsam 28 minutes ago
        With Flatpak you can tell they're at least trying and within 10-20 years it might be usable. With Snap there's not even a chance, because they clearly don't care. Just one of the most user-hostile things I've ever had to use on Linux (the reasons are well-represented in the OP link, so I won't repeat them).
  • kaboom3 38 minutes ago
    Install Debian instead. It is not that difficult. Much less shenanigans.
  • kylecazar 22 minutes ago
    One of the benefits of having moved to Pop_OS. Ubuntu without Snap and Gnome, and Cosmic DE is nice.
    • phs 8 minutes ago
      That's where I landed a few years back, but system76 dragging their feet on 26.04 is just about to drive me to vanilla Debian.
  • frabjoused 1 hour ago
    What on earth is a snap?
    • ashdksnndck 1 minute ago
      They’re those press-fit fasteners you sometimes find on shirts and jackets, a modern alternative to the button. They have some downsides but I don’t know what OP’s problem is.
    • accrual 57 minutes ago
      It's a way to package an app's dependencies together in a single file so the end user can run it without first having all the correct packages and libraries installed at the OS level. Kind of like Docker but geared more towards Linux desktop use.

      The other two main "packaged app" formats are Flatpak and AppImage, in addition to Canonical's Snap format. A good quick overview is here:

      https://computingforgeeks.com/snap-vs-flatpak-vs-appimage/

    • trashcan_man 1 hour ago
      Canonical's (Ubuntu) application packaging system.

      It might be user error, but it's never been good for me. Edit: https://snapcraft.io/

    • froh 1 hour ago
    • cheschire 22 minutes ago
      It's what happened when Canonical put on the Infinity Gauntlet and murdered half the small linux distros.
  • g8oz 11 minutes ago
    I left Ubuntu and went to Fedora because of snaps. I don't mind flatpaks.
  • johng 1 hour ago
    I ditched Ubuntu because of the Snap packaging fiasco. Went to Debian and haven't looked back. I also run Fedora on some machines now and that has been great as well.
    • AnthonBerg 1 hour ago
      I loved when I figured out that Debian was Ubuntu without the Ubuntu, and that that was the right Ubuntu for me.
    • therealmarv 19 minutes ago
      hm and I don't trust Debian after this one https://news.ycombinator.com/item?id=50514180

      What else to use on the Server?

      Seems many people like Alma or Rocky...

      • nachexnachex 10 minutes ago
        Fedora. There's cloud images for main providers too.
    • axmebhe 1 hour ago
      Every Canonical-initiated feature since Unity has rubbed me the wrong way, like their taste is completely opposite to mine.
      • RunSet 1 hour ago
        One might say their implementations are Canonically incorrect.
    • daringrain32781 1 hour ago
      Another ex-Ubuntu here. Ditched for Fedora and it’s a much better experience.
  • pcbmaker20 29 minutes ago
    me too.
  • ryandrake 26 minutes ago
    When software starts "pushing" users to do things the developer's way and not the user's way, it's time to change software. I don't know why certain software developers insist on being opinionated and weirdly treating their users as Behavior Modification Test Subjects. Software is supposed to be a tool. I don't expect my hammer to suddenly have an opinion about how I'm using it to hit nails.
  • ytxm 53 minutes ago
    PC industry: disks are fast now, enjoy your instant app startups

    Canonical: hold my pint of piss..

  • mdemare 57 minutes ago
    This thread has more comments than that site has rants.
    • ghastmaster 34 minutes ago
      You can add to them!

      https://buymeacoffee.com/uphoenix

      > Hate snaps? Write your rant in the message box. If it's good, it goes on ifuckinghatesnaps.com, anonymously.

    • ivanjermakov 46 minutes ago
      This is probably the reason I can't view all rants as a single plain list. I understand the artistic choice but it's a terrible way to convey information.
    • Joker_vD 53 minutes ago
      Every time I complain about having to use apt, people tell me "it's the distro's package manager, you're supposed to use it, so stop worrying and learn to love it". But now Snaps is also the distro's official package manager, you're supposed to use it... and the same exact people complain about having to use it. With almost the same arguments, mind you. It's surreal.
  • SwellJoe 52 minutes ago
    Snap is built to lock users to commercial Canonical services, it is not built for you. It's extremely non-trivial to host your own Snap repos (you have to distribute a custom `snapd`, as far as I know, that allows non-Canonical repos). Canonical sells repo hosting via a branded Snap Store.

    And, yes, Snap is the worst of the "package in a container" implementations. Flatpak is much better, can be fully self-hosted, and has far fewer uncomfortable edges. It's still tightly containerized and will sometimes surprise you with limits to what a package can do, but they've done a better job with it. The packages just seem more carefully tested and better maintained.

    I have to use Ubuntu for work, as it's what was in use before I arrived and it's got first-class ROS support, among other things. Switching to something else would be uncomforable, but if we ever have the conversation about replacing it, I'll be on the side of "almost anything but Ubuntu", and Snap is a big part of why. I run Fedora on my desktop and laptop, and have no complaints.

    One big issue with Ubuntu is I have to maintain non-Snap versions of packages because the Snap version is broken. e.g. we use Chromium for the face of our devices, and the Snap broke for our use case (simply showed a black screen, presumably some permission or driver availability issue), so I maintain a deb version of that package in our repos. And, we couldn't reliably update the Snap on the devices, either, as we can't run our own Snap repos. Snap is simply a non-starter, and Ubuntu has begun to ship more and more of their packages exclusively via Snap.

    In short, I also fucking hate Snap and it's wasted a ton of my time.

  • __MatrixMan__ 48 minutes ago
    We don't talk politics or religion at Thanksgiving. It helps keep the peace.

    Packaging, it would seem, is the politics/religion of software. I find it difficult to explain to outsiders why its so contentious. To them it's like hearing that we fight about cardboard boxes like they're healthcare plans.

    I never tried snaps. I prefer to fight about flakes.

    • torginus 39 minutes ago
      Tbh, I have yet to encounter a single person who likes snap.
  • nzeid 37 minutes ago
    Imagine my surprise when certbot finally gave us a reasonable installation option that wasn't snap. Truly grateful I can remove this trash from all my systems now.
  • airspresso 34 minutes ago
    Yes! Snaps are the awkward little brother of proper deb packages.
  • mangecoeur 31 minutes ago
    Cool some pointless flame baiting, meanwhile linux desktop still lacks a standardised software packaging story for third party apps.
  • amelius 56 minutes ago
    I think ~/snap is ok. What I hate is the junk I get when I type mount.
    • spider-mario 13 minutes ago
      I get far more junk from Docker. I also prefer `findmnt` over `mount` (snap and Docker are still there but cause a bit less clutter).
    • khrbtxyz 48 minutes ago
      Mount is junk even without snaps. Linux turned "everything is a file" into everything is a filesystem.
      • Pxtl 32 minutes ago
        why can't I just type smb://myserver/myshare/myfile into anything that takes a file path?
  • Pxtl 35 minutes ago
    What bothers me is how Canonical lets snaps destroy their own reputation. When I installed Kubuntu 24 for my first big return to Linux desktops I was shocked how broken their Firefox install was. Wrong mouse cursor, no WebGL. All caused by Snap security.

    This isn't some crazy edge-case, this is your default browser on an LTS OS fresh install. What kind of "this is fine" brain let that go?

  • baggy_trough 23 minutes ago
    Snaps proved that Ubuntu was not serious about being a server OS that prioritized uptime. The attitude was, essentially, "thou shalt upgrade automatically to benefit the ecosystem." Well, that's an ecosystem I'll be departing rapidly, and did.
  • pbalau 36 minutes ago
    This is a crappy website. I twaked a delivery package 3 times and now it tells me I should do something with Ubuntu. I do not use ubuntu, so this is worthless. I'll go yell at my cat.

    I know what Ubuntu is, I might even now what snap is, but for fucking hell, use words to explain what this shit is all about.

    • pmlnr 20 minutes ago
      You must be new to the internet. Wacky for the sake of whimsical used to be a thing.
  • irishcoffee 1 hour ago
    Ubuntu is actively the worst thing happening to Linux. I’ll happily debate anyone who disagrees.
    • Underphil 46 minutes ago
      I dont disagree, but perhaps you're too young to remember how Ubuntu unofficially "formalised" the desktop distribution and was instrumental in helping Linux gain popularity. I wouldn't touch it with a barge pole today, but it deserves some credit for that.
      • jrm4 10 minutes ago
        You're both correct though.

        Yes, it deserves a great deal of credit for the past, and also yes, it deserves a great deal of hate today. I do mean hate too -- precisely because it is trading on the older reputation. I could respect it if it changed its name, or forked a user edition or something like that.

        Screw (today's) Ubuntu.

  • moralestapia 5 minutes ago
    [dead]
  • skullone 59 minutes ago
    Try running a Ubuntu based enterprise with 8,500 users. It sucks. What a shit distro anymore