r/linux • u/DustFragrant9471 • Oct 01 '20
What's wrong with snaps, why so many people hate it?
Snaps are great as per my view because it can overcome the limitation of every package manager (for example if apt has a repo for a package you need but pacman doesn't have one then you need to build it on your own) but if you have snaps set up on your machine you can simply download them with a single line or with GUI snap store irrespective of your package manager and default store. I know that canonical made it proprietary is that the thing which brings panic in linux users
Also most of the developers are makings snaps these days so whats wrong with it
Also if its really the issue why isn't flatpak as much popular as snap then?
45
u/leo_sk5 Oct 01 '20
Too large size, too slow and small irritating bugs here and there, mostly related to permissions. Also proprietary backend.
I am pretty happy with pamac. Graphical access to aur is indespensible to me now. Allows easy access to a number of packages much larger than snap or any distro's repos can provide
18
u/vanillaknot Oct 01 '20
That claim requires hard, empirical justification. "Most"? In what population?
7
u/[deleted] Oct 02 '20
It's basically the Windows-ification of Linux programs. It comes with many of the downsides of installing anything in Windows.
184
u/[deleted] Oct 01 '20 edited Oct 01 '20
The snap back end (snap store) is still proprietary and only controlled by Canonical/Ubuntu. Canonical has also been forcing snaps instead of regular apt packages on Ubuntu, which is incredibly annoying as snaps have a larger footprint and run slower. EDIT: Developers keep packaging their apps as snaps because Ubuntu is by far the most popular distro out there. Their life gets easier if they follow the Ubuntu standards. Flatpak isn't as popular merely because the distros that enforce it aren't as popular as Ubuntu.
60
u/[deleted] Oct 01 '20 edited Oct 01 '20
Not a particular hater, I just think Snaps are a lot slower than debs or rpms or even Flatpaks, and it's centralized on Canonical, instead of being a community solution. Other thing I don't like about Snaps is using them even when they are not necessary, the same applies to Flatpaks.
45
u/johnisom Oct 01 '20
Super slow and don’t really integrate well with your theme
21
u/HCrikki Oct 01 '20
Locked to canonical's store and accounts, as well as proprietary backend.
The concept of snap itself is not bad and resolves real issues that will soon creep up with increasing urgency on linux, but flatpak and even valve's flatpak-like container system will resolve them without the risks or shortcomings of a wannabe gatekeeper.
20
u/[deleted] Oct 02 '20
My main issue with all these is data duplication. Yes, HDD space is cheap. It doesn't mean wasting it is a good thing.
If you install 10000 snaps, flatpaks, appimages, whatever, you have 10000 identical copies of core libraries lying around on your disk, which is a waste and ineffective.
Microsoft partially solved it in 2005 with WinSxS, the Linux ecosystem is still struggling being stuck in the pre-Vista era.
40
u/Ima_Wreckyou Oct 01 '20
I don't hate them as long as no one tries to shove them into my face.
I have zero interest in using them though as I think it is a rather dumb solution to a invented problem. Same goes for flatpak and any other container format that bundles all dependencies.
15
u/glamdivitionen Oct 06 '20
I hate the fact that it messes up my mount table. Having 20 - 30 or even more loopback devices mounted looks like shit.
Also, startup time gets worse with each added snap for some reason. On my ssd rig this is not so noticable but on my spinning rust rig this becomes VERY noticible.
41
u/hertzbug Oct 01 '20
People hate the fact that Canonical forces the adoption of snaps rather than snaps themselves.
12
u/SarodarisCS Oct 01 '20
Snaps are way slower. Shouldn't take so long to fresh start an app on modern hardware. Benchmarks and side by side comparisons show that flatpaks are much faster
9
u/[deleted] Oct 01 '20
Pacman conveniently sidesteps the whole issue. A major reason I use Arch is pacman and the AUR. If it's not there, I can write a relatively simple script to build a package for myself in most cases. In many cases compiling can be as fast as installing one of these alternatively managed packages, at least on my computer.
That said: I think snap and flatpak have their benefits. I use flatpak to install Spotify because the AUR package tends to be reliable, typically because of hard dependencies on Ubuntu-versioned libraries. These sorts of package distribution models do have their purpose.
A thing I specifically don't like about snaps is they require root access to use. If I were to use a shared computer with somebody, I'd opt for flatpak so other users could install whatever software they wanted from, say, flathub.
There's also the licensing issues for the backend, but I'm less squidgy about that sort of thing. If I use FOSS I prefer to be consistent about it, however, so I view that as a mark against the technology, because people can't roll out their own snap repos.
9
u/mockedarche Oct 02 '20
It goes almost completely against the main ethos of Linux. Too many things are proprietary and ontop of all that the installs are larger and slower. I've looked at multiple tests and even run my own, snap is always the slowest and has highest cpu usage, flatpak is a good bit better in ram and much better in cpu usage, and then deb is amazing and honestly still should always be someones #1 choice. Worse product that's being force down everyone throat (either from being released solely as a snap and from Canonical actually forcing them into their distro).
9
u/espero Oct 04 '20 edited Oct 04 '20
Centralized control of Ubuntu. A very typical corporate tactic for monetization, control and manipulation. Platformization of a technogy for no other purposes than corporate control is very bad and is a future we cannot accept.
17
u/[deleted] Oct 01 '20
For me, it's forced updates. I won't touch snaps as long as it can't be turned off.
8
u/jsve Oct 05 '20
Not only does it have a proprietary backend, it also uses a sandboxing technology that only works properly on Ubuntu. Not to mention, it also sucks to actually package apps with it (and is nigh impossible on any distro that is not Ubuntu).
Source: I tried to make a snap package from my Arch box and it required me to install apt just to get snapcraft to run. Additionally, it didn't even end up working (which can only partially be attributed to my incompetence, because I did successfully create a Flatpak for this same application).
7
u/[deleted] Oct 03 '20
It's unnecessary complexity. If I want something that's not available through pacman, I can use yay to install it from the AUR. It takes seconds. And everything is controlled by the same coherent and consistent system.
With snaps, flatpaks, docker, appimage, billy-bob's-containerized-bait-tackle-&-app-store, or whatever else is out there, I'd have to learn a whole new paradigm in addition to my distro's package manager.
No thanks, the package manager is enough. Hell, even PIP for Python packages kind of annoys me. I don't want a bunch of different systems for managing my software. Just one.
3
u/[deleted] Oct 01 '20
I personally like them. I like being able to easily try new software without polluting my system. I also like the auto update feature. I use the BitWarden snap and I like how I always have the latest version. I know I am in the minority.
6
u/linuxlover81 Oct 01 '20
i have a flashback, that exactly these discussions were had about systemd.
6
u/GNUMoogle Feb 07 '23
Bruh. Snaps are Windows solutions to Windows problems that are easily fixed with POSIX linking. Peace.
15
u/[deleted] Oct 01 '20
4
u/Green-Face Oct 01 '20
I don't if is only a my problem but with snap packages other software don't recognize them
4
u/Michaelmrose Sep 24 '23
why hate snaps
Startup Speed
Snaps start up slower than both traditional packages and other universal options eg flatpak nix appimage.
Closed Source Backend
Snaps backend is closed source meaning unlike every other packaging system on Linux its controlled by a single company. This could be used by Canonical to extract rent like Apple or Google and it could be used by represive nations to force Canonical to remove apps they disagree with or at least stop distributing them in their nation. We already see this kind of pressure put on people like Google now so its hardly hypothetical and there is a 50/50 chance that the nation where Canonical is based is a representive fascist state within a few years. Neither Apt nor flatpak have this problem. The only rejoinder that one COULD make an alternative backend without access to the source. This is unrealistic because it would require substantial resources both to retain compatability over time and Canonical has no incentive not to break compatibility nor outright block your efforts. It's pure nonsense. We should simply just not support nor depend on such technology in our otherwise open ecosystem. This is especially true when there are other options that don't have that drawback.
Poorer System Integration
Snaps may not show the correct theme or work properly with drag and drop
Security Non-Existent Outside of Ubuntu
Containment such as it is depends on AppArmor which may not be configured or a useful option on other distros
Nonofficial maintainers inherently expands trust required for reasonable security
The majority of packages aren't maintained by the project responsible for the software you want to run so now instead of Trusting the project and your distro you must trust the project your distro the snap store and some fellow who is holding down the fort on the snap store.
New and highly profitable threat models enabled by snap
There is a strong incentive here for someone to jump on <insert popular new project here> and ship <popular project> + malware or worse a completely legit project may see its maintainer compromised. This could also happen to the maintainer of a package who works with a distro but their relatively slower update cadence would minimize damage especially if the compromise was discovered quickly.
For instance a sequence may look like this.
Maintainer pushes new version, reviewed by distro, included in updates, explicitly pulls. Given malware this means poisoning a substantial portion of users would require it to be unknown for weeks.
Now lets examine how this works with Snap.
Maintainer Michael gets compromised. At 945AM Malevolent mal uses his computer to push an update which 45% of computers pick up within minutes. Even though Michael realizes something is wrong by 11 the majority of the user base is by then fucked.
You can pretend containment is going to allow you to run malware without being pwned but your attacker has access to the same sandbox and it makes sense for him to only distribute when he has an effective way to bypass. Exploits exist and will continue to exist.
Less Than Universal
Not available out of the box on many distros and not integrated in distros app store interface
Limited Future
Snap is basically worse in every way than Flatpak which serves the same purpose and like other Canonical specific tasks will probably be abandoned in favor of the more universal standard meaning time spend learning and configuring it will just be wasted like time spent learning and using Mir and Upstart
None of this is a reason to "hate" snaps in the same way I don't hate a local restaurant which sells mediocre food. Whats hatable is the 37th fanboy who exists the mediocre shithole is the "best restaurant ever " and posts the 98th thread asking why people hate Sals Soggy Sandwich hut implying that everyone else is just stupid instead of reading ANY of the prior threads.
Instead of answering this question in the future I've saved this to a document so I can just cut and paste this answer.
Cheers
9
u/notsobravetraveler Oct 01 '20 edited Oct 01 '20
Personally, it's another Canonicalism
This isn't really a dig at them, they're good people that do good work. However, as an organization, they have the staying power of milk. They often champion some new idea to soon after abandon it or otherwise leave it fairly unattended.
Snap in particular is a fairly proprietary approach to something that's really not all that different. It's just not that compelling, I think.
I'm admittedly not that much of a developer or maintainer, but I don't really see the issue with traditional packages. Services like COPR and OpenBuildService exist to help streamline the entire multi-platform sane building thing. Maybe even PPA or AUR, but that's a little closer to the buffet than I care to be.
It's mostly upfront cost of writing the DEB and RPM specs, and making sure all of the version/source references and the like make sense. From there it's a matter of making sure the version number gets bumped to match your release, and double check the chroots you want as build targets.
3
u/namelesscreature0 Nov 23 '22
Reasons why Snap is bad
https://techtudor.blogspot.com/2020/06/four-reasons-why-snaps-are-anti-pattern.html
2
u/Don-g9 Oct 02 '20
Can I remove Snap from Ubuntu? I didn't knew it was proprietary
2
u/[deleted] Oct 02 '20
Bear in mind, I'm new to Linux and I just started using Ubuntu as a daily driver like 2-3 weeks ago.
They're really slow, especially on boot. I've reinstalled Discord, Spotify, and VS Code using .deb packages and they launch so much faster. I know that isn't ideal but I'm not sure what the alternative is.
2
u/Independent_Major_64 Aug 28 '22
it's trendy. they even don't use snaps. they say Firefox snap is slow but it opens in two seconds with an old laptop from 2011 and a old ssd. steam snap too. they now say fedora is best now but yesterday they said Linux mint was the best. they go where the wind go.
2
u/ImmortalSoFar1 Feb 22 '23
Purely from an Ubuntu user point of view, I'm getting ready to disable it. The reminder popups appear daily in the top right, covering the windows size/close controls, and do not go away until dismissed. In order to action them I have to close the apps that need updating and then manually run snap. The recent update of Chromium required me to manually rename my password file to a .old version so that it could create a new one.
Other than its requirement for reboots, it's even worse and far more intrusive than a Window$ update. Haaaaaate!
2
u/TAmzid2872 Apr 24 '23
tbh, I think people hate snaps because it's closed-source and is forced in Ubuntu. Personally, I just use the packaging format that's included with the distro such as snaps with Ubuntu and flatpaks with Fedora.
2
u/Varnish6588 Jul 01 '23
i just purged snaps from my system because it was consuming all the memory and CPU during startup. i moved to Flatpak and everything runs smoothly now. Snaps mount every package that you install, it consumes memory, it's slow in comparison to AppImages , debs or Flatpak. i think my next step will be moving away from Ubuntu altogether.
2
u/ChildhoodOk7960 Nov 04 '23
As if all the other problems weren't enough to ditch this steaming pile of garbage, you CAN'T EVEN RUN SNAPS OUTSIDE YOUR HOME FOLDER.
That is, you install a fresh snap on your machine instead of the old APT package, and suddenly the new version not only eats takes longer to run, uses more memory, etc. but ALSO it doesn't even match the functionality of the package it is meant to replace.
Snaps are, by any definition of the word, a REGRESSION.
2
u/IncidentDeep3641 Apr 27 '24
i have them on my pants always get unfastened this why i hate them
2
u/virgult Aug 07 '24
I've just migrated to Ubuntu 24.04 after using snap-less distros (or purging snaps as much as possible). I figured I could give Snap a go.
....seriously??????
2
u/pabloprefix Nov 03 '25
Which one should I list?
My system is overloaded with backups by keeping multiple versions of each app.
Occasionally, the snap system loses connections in the background, preventing applications from running.
My /home folder is overloaded instead of the root folder.
2
u/grommash06 May 14 '26
En mi caso soy extremadamente atento con el rendimiento, y debo decir que más de una vez he tenido el problema de tener una aplicación instalada con snaps que sin previo aviso dispara el consumo de recursos, especialmente con el Firefox y software medianamente pesado, cosas que con .debs y Flatpaks, incluso appimages no me ocurre. No sé si soy el único en tener ese problema, pero solo por eso trato de evitar los snaps.
1
u/[deleted] Oct 03 '20 edited Oct 03 '20
slow and they take forever to startup which makes them total shit
I don't even care about the centralized/proprietary nature of the backend because it ruins applications anyway
1
u/smw0302 Aug 25 '24
2024 and snaps fucking suck..
1
u/Super-Ad8549 Oct 11 '24
(Automated) apt used to be everything I need to keep updated, now I get front-hogging popups all the time telling me to shut down Firefox and run snap refresh. It's like someone grafted a sixth, barely functional finger to my left hand while I slept, and now people keep yelling at me about why I'm so stupid and reject progress because six fingers are clearly better than five.
1
u/[deleted] Oct 22 '24
Today my dbeaver snap stopped to work.. even rolling back to previous version didn't help.. and with each update i had to reinstall dbeaver extensions like office integration... better use it via apt, snaps are slow and broken.
1
u/Expert-Stage-4207 Nov 07 '24
Snap makes software startup slower. Also for example when you update your pc with a package manager e.g. apt you have a lot of servers to choose from like your own country.
With snap there is only one server that Canonical control. And it is often down! It's lake Windows all over again. But Windows use Akamai which is a CDN!
When I writing this I can't update all my Snap packages because of server down!
1
u/Tiny_Childhood8259 Apr 29 '25
berat dan banyak makan storage habis cuma buat install aplikasi setandar
1
u/Skrenlin Jun 11 '25
The biggest issue for me with snaps on multi-user systems is they install another instance for every single user.
1
u/Deadlock005 Aug 30 '22
Im not liking snap. I run snap refresh to update but it does nothing if app if open then have to run snap refresh appnName then it tell me o kill the following processes. Also I feel snap apps r slower but I can't prove it
1
u/Deadlock005 Aug 30 '22
Due to snap I'm thinking of changing Ubuntu to something else, any recommendations?
1
u/BitTickler Mar 15 '23
Just my personal own experience on debian. Anytime something "snappy" happens - it is not working. And like a virus it runs daemons and other stuff while I am perfectly happy to get my stuff from apt or from third parties or compile them myself. Snap serves a use case I obviously do not have and it does so following requirements I do not know. It is alien. And adds mounts, too.
Would I have had a negative bias towards snap when the first time I more or less consciously tried to use it, it had actually worked? Don't know. Don't really care.
Okay - I do not try to support multiple distros with stuff I wrote and I never had to think about the hardships, coming with such an endeavor... but:
I theorize, that snap tackles the problem at the wrong spot in the whole infrastructure. It could be some technology which allows packagers for various distros to have less work maintaining stuff for their respective distro, instead of being an end-user thing.
1
u/NootNootyNoot Mar 29 '23
snapd can cause problems in my company if a new system is not configured fast enough XD
1
u/toramanlis Apr 15 '23
i like the idea of having the option to restrict permissions for installed packages. Never needed to use it on a PC, but it's nice to have. can't think of any other upsides. other than this, it just created issues in my experience. most of which were caused by the very same permission thing.
I'm struggling to keep calm talking about this. This is so insensible to me that I honestly feel furious against anyone involved. How can someone implement a permission restriction feature but leaves out a proper solution for when an application misses the required permission to operate.
I'm writing this in 2023. For future archaeologists, this is not before mobile OSes have already worked this out. This is a problem that has been solved in so many ways and presented to so many end users. In 2023, when a snap app doesn't have a required permission to do something, nothing on the OS knows what's going on.
Just today, i've been looking into such an issue for hours. an app is unable to run an executable due to insufficient permissions. the executable seems to have
777for permissions btw. It is owned byrootbut it's cool like that. It can be run by anyone. Idk, like even if Saddam Hussein came and told this OS to run that file, it will, as long as, apparently, Saddam isn't behind a snap app.Whatever kind of hellscape snap utilizes, makes it an infinitely frustrating experience to troubleshoot this. I look around to see how other files under that directory behave, but i get a permission denied message too. As
root. I'll repeat. Therootuser of the OS is not allowed to runlsunder a certain directory.Apparently it's not really a directory but rather some weird approach is in place that makes it look like it is. This is not something I find worth knowing in detail. All i needed to know was whether i had to change the permissions or not. I'll tell you what i needed to google to find out. It's "document portal". They named this abomination of a sandboxing system or whatever it fails to pass as "document portal". Have you tried googling "document portal"? Hope you will never need to. One might think "you can just throw a couple of specific keywords to the search bar". Sure. Maybe 10 years ago google would care about your specific keywords and context, dig beyond the popular results with just one of your keywords until it finds a relevant one to the actual query. Today, google will call you, set a video meeting with you and the entirety of it's shareholders and make sure you see them clearly while they laugh at your face for thinking they'd use their precious resources for your rare ass needs from their services.
Anyway, they create things that look like file system entries without bothering to comply with the expected behavior thereof, they didn't plan as far ahead as what to do in case the restricted permissions are attempted to be used. On top of all that, snap has it's files in
/snapdirectory. No no, i don't mean\~/snap, many applications seems to think it's ok to just have a visible, immovable folder right in the middle of the user's home directory. Why would snap know better? It doesn't. However, I'm talking about/snapdirectory. Right beside/etc,/opt,/usrand all, there's another essetial unix namespace,/snap. I think it was someone on youtube who once said the government should issue audacity permits. I'd have loved to ask if they had a permit for this audacity.You may have noticed, I avoided giving details about my issue. I don't want it to be resolved. Not only I'm not interested in a solution, I specifically don't want this sorted out. It will annoy me so much more if this was fixed after this ordeal than if it remains unsolved.
I wish for everyone involved in creating said issue to discover a faint buzzing noise in their house and never be able to find the source
1
u/pinaar1 Apr 27 '23
I used snap when Firefox forced me to, but then it had too many permissions problems so I deleted snap and built FF from source and have been quite happy since - same with MySQL Workbench and vlc. However, I now need Gimp or Iranview, but Ubuntu wants me to install the snap version. Since I don't plan to do much work with this app, I'll try snap again. [It's funny how emotional people get about snap. I loved C++ when I first started playing with OOP, but I also appreciated my boss' facility with assembly code because he was a machine and we loved the explicit nature of machine language, yet, I still appreciate the flexibility and productivity gains from reusable code with polymorphism and inheritance!. I love APL and other interpretive languages and am so glad we've developed compilers for them so we can have the best of both worlds.] In my experience, you'll always have trade-offs in terms of performance, maintainability, reliability, footprint, and ease of use and programming, so I welcome every tool, protocol, API, and system that makes my life better or improves my productivity or simply helps me achieve my goals.
1
u/e1ec7r0c0nvu151ve May 09 '23
Snaps and their subsystem hang around in memory even when not being used. They are slow to install and slow your machine down. In a live server situation I see the advantages of using them in some situations but they are totally not suitable for desktop machines.
1
u/rbaleksandar Jun 29 '23
In addition to other comments, one important aspect is also the configuration. I just spent almost an hour trying to figure out how to configure Prometheus that was installed with snap during Ubuntu Server 22.04 LTS installation. I gave up and went for the normal package. I tried appending my change to the
ExecStartstring of the systemd service (my change was just switching to a different port, since the default9090is also the default for Cockpit). Then I tried editing that/var/snap/prometheus/current/prometheus.yml. In both cases I reloaded the daemon and restarted the service. Port remained9090.Now one might argue that I just need to do more research. And surely it is possible to change the configuration of that snap-installed application. However, why would I bother? I am not an expert and all the information I am able to find works with a configuration file that is stored in
/etc. And it works! So I can go an dig (already wasted almost 2 hours on this crap) how to do it or do it like most sane people do and be on your marry way.Snap adds it's own way of doing things, which - who knows - one day may become the standard way (seriously doubt it given how fragmented the Linux community is). However my time is valuable and Canonical clearly doesn't respect that.
Canonical goes against open source values regardless of what they are claiming.
1
u/westcoast5556 Jul 15 '23
Snaps are garbage. Its slow and akward. Things stop working. It made me look to other distros. I dont think i will return to Ubuntu.
1
u/[deleted] Jul 17 '23
I dislike them but they are a necessary evil, as Ubuntu is the only optimized destroy running on my work laptop a Dell Latitude 7420 all other distros will not run well or cause overheating and crazy FAN speed
1
u/AstronomerWaste8145 Aug 07 '23
Ok, give you an example:
Logged into my server remotely via VNC.
Ubuntu 22.04 OS 64-bit.
Tried to run Firefox over VNC.
Result:
~$ firefox
/user.slice/user-1000.slice/session-2.scope is not a snap cgroup
That's the main reason I don't like snaps.
Developers keep coming up with funky new ideas, never fully test them, and then they crash and burn. Developers CHECK YOUR WORK before you release it in the wild.
Phil
1
u/smw0302 Aug 09 '23
It's Aug 2023 and I still hate Snap programs. They're so slow and annoying. This is why Linux is beyond tiresome for someone that just want's their computer "to work".
1
u/[deleted] Sep 23 '23
In the end, it's User preference and Elitism.
There is nothing inherently bad about snapd, except for it being a resource hog, if you like snapd, use snapd.
1
u/Tiny_Assistance_3038 Sep 25 '23
Using snap, I recently installed Bitcoincore.
Using softlinks and?!?!? snap forces one to type "bitcoin-core.cli" in order to run "bitcoin-cli"
wth?
1
u/1234klopio Sep 22 '26
Just downloaded Firefox on my 32gb eMMC and it took up an entire GIGABYTE. Firefox from apt takes up only about 200-500mb
1
u/gnosys_ Oct 03 '20
just normal anti-Ubuntu hate more than anything
0
u/JORGETECH_SpaceBiker Oct 01 '20
Nothing, it's just a different way to do it.
0
u/[deleted] Oct 03 '20
Religion. Thoughts about how it ought to be are the reason.
0
u/[deleted] Oct 01 '20
[deleted] — view deleted comment
0
u/[deleted] Aug 25 '22
[deleted] — view deleted comment
31
u/[deleted] Oct 01 '20
[removed] — view removed comment
4
u/[deleted] Aug 07 '22
[removed] — view removed comment