Imagine flatpack did smth like this
I don’t have a problem with snaps as a technology. If you want to use them, then who am I to judge?
But what I do have a problem with is when I don’t have a choice and I am being forced to use what the distro maintainers think is good for me. That is what finally made me quit Ubuntu and switch to Fedora.
Also, Snap is proprietary. That alone is reason enough for me to steer clear.
Well snap itself isn’t proprietary, the backend server distributing the snaps is.
Explain how this distinction matters in the real world?
Snap distribution is as much a part of snaps as Snapd.
Who cares that part of it is open source if other parts aren’t?
I do have a problem with them, the same problem was solved, better, with other technologies like appImage (which doesn’t litter your mount list with 100 meaningless entries).
Even flatpak is better, snap is an also ran they’re trying to force on us without being as good as any of the competitors.
Couldn’t the same argument be made for any distro? They give you what they put in their repos. If you want a deb package, use the mozillateam PPA (which is built on Canonical’s hardware, same as Mozilla’s snap of it).
the difference is that the folder/package structure for other package manager is open and well known
everyone can host their own i.e. apt, pacman or Flatpak repository with little effort
the required folder/package structure for snaps is no longer open and you cannot change the default snap repository either easily
The package structure for snaps is very much open, as is the API for a snap store. There was for a long time an open source snap store implementation, but it died out due to lack of interest by others in actually hosting their own stores, which to me says a lot about whether people actually want to host their own repo or just want to use it as a way to complain.
IIRC, the issue was that - unless you take steps to explicitly prevent it - Ubuntu would occasionally reinstall the snap version. I don’t remember the details, been a while since I had to dance that dance, but I recall it being one of the things that put me off snap in particular, Ubuntu in general and sparked my search for a different distro.
I’m now on Nobara, a Fedora-based gaming-oriented distro maintained by GloriousEgroll (who also maintains the popular Proton-GE)
Like with any time you’re trying to select a specific source for a package, you need to set apt configuration to prefer that source. It’s standard apt behaviour with a standard way to configure it.
when I don’t have a choice and I am being forced to use what the distro maintainers think is good for me.
That’s the case on literally any distro.
And just like on literally any distro, you can also install Firefox from FlatPak, the Mozilla repo or from source.
Except on Ubuntu it just installs the snap regardless. If you don’t pay attention you may not even realize that it is a snap. Also the snap store is controlled exclusively by one company with a questionable history.
This is why I switched from Ubuntu to Debian.
Ubuntu was great, until Unity debacle, when I switched to Mint DE. Few years later I returned to an Unity free Ubuntu just to be welcomed with snaps and Ubuntu pro.
Canonical have made the same mistake three times as far as desktop environments are concerned, IMO:
- 2004: went with GNOME
- 2010: made Unity as a way to rid themselves of the hostility of the GNOME devs
- 2017: Instead of leaving GNOME in the dust, they went back.
IMO using GNOME is an abusive relationship.
For me it was when I was trying to use some Android tools and it tried to install the snap version. The snap version was broken of course.
When I first returned to Linux several years ago I started with Ubuntu, since it was the only distro I had used. I got confused when I installed Firefox and other apps via apt but instead got snap versions. This (very miniscule) gripe is enough of a reason for me to not recommend Ubuntu to new users anymore.
It’s not a miniscule gripe tho. Snap is still broken for many users, and relying on it for something as critical as a web browser is asking for trouble. Experimental technologies like snap should be opt-in for users who are willing to deal with the issues they create. Do they really expect a novice to see firefox’s filepicker not behaving correctly, and think “Aha, an XDG desktop portal issue! Let me drop everything I’m doing and go troubleshoot that” ? Ubuntu is meant to be linux for normies, they don’t have the time or the knowledge to deal with snap.
One of my friends spent like a month distrohopping just to find a debian-based distro that fits these two criteria:
-
First-class support for KDE
-
Isn’t broken all the time
Ubuntu fails both. KDE Neon excels on the first one, but fails harder than ubuntu on the second one. Kubuntu as well. Debian has horridly outdated packages, and he refuses to use nix/flatpak. Tuxedo OS is obscure and broken. Mint is great, but installing KDE takes some effort.
He finally settled on Ubuntu Server with the native KDE package. Still has to do some weird incantations to banish snap tho.
How did things get this bad?
Why not try Void. It’s fairly up to date regarding all packages, including KDE and it’s rock solid.
He really insists on debian-based, I don’t really know why. And, while Void IS really solid, it isn’t exactly known for the most expansive package collection. Xournal, for example, is not available through XBPS (there is a xournal package, but it just installs xournal++), which is one of the programs he likes a lot. I told him it’s on nix, but he doesn’t want to use nix.
But I agree, Void is amazing, I use it on my laptop. One little-known cool feature of Void is that its official docker images come in busybox/musl libc
, busybox/glibc
, and coreutils/glibc
variants, it gives you a nice scale from most minimalist to most compatible.
He could make his own templates for the packages… he doesn’t even have to rebuild. If he could at least find a .deb or .rpm package of the app/package he likes, he could use that and just repackage. That’s what I do for stuff I can’t find… and update them from time to time (like every few months or so).
ok, what is snap and why should I care?
https://en.m.wikipedia.org/wiki/Snap_(software)
As to “why should I care”, you don’t have to… unless you use Ubuntu.
I didn’t really understand what I just read, but it sounds like flatpack but different. I’m on mint, so I’m pretty sure it doesn’t affect me. The memes I’ve seen on the subject give me the impression that people don’t like it.
Snap is far more like nix. Flatpak deals with a limited subset of what nix and snap do (e.g. it can’t distribute kernel packages).
While snap is certainly not without its problems, people repeatedly make massive negative claims about it that, while often based on a core of truth, are highly embellished to the point of being misinformation. (This is the same tactic I see with bad-faith political trolls, and with a similar result really - they’ll consistently try to use that core of truth to make far stronger claims than are defensible and, when it’s pointed out to them, they move the goalposts to a smaller, more defensible claim, only to repeat the bigger, debunked, claim later.)