196 points · by kennydale · 6d ago · 161 comments
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.
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.
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.
Joke seen a long time ago.
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.
I had run red hat, debian, gentoo, suse, mandrake.. ..but I really loved what Ubuntu was doing initially, and the direction they were going with trying to make Linux accessible and "grandma friendly".
..it's just.. after a while, there were some annoyances and policy decisions I didn't like. ..but, there was inertia, and I didn't want to go back to distro hopping, as much as I had enjoyed it. ..and then, Snap happened, and that was it for me.
>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...
The gripe that I can report is that the flatpak, while fine in general means that you're stuck with the packager's choices. When you want to something else with QGIS, you have to step out of flatpak.
Bottle is great, though. I was able to configure a Windows app to run => https://substack.com/@smitty1e/note/p-226285075
Linus from Linus Tech Tips had 2 series of switching to Linux, years apart, both times he chose PopOS and both times it bit him spectacularly. Check youtube for details.
I setup an ansible role to do all the config and packages needed for a Debian system.
I think the important part is who is doing the install.
I tried Mint personally a long time ago and didn't find it to be better than Ubuntu and didn't click with Cinnamon, and then haven't found something to push me back to trying again.
My tier list for support right now would probably be Debian, and then Bazzite/ublue. But like main distro choice it's personal preference more than hard science.
But Mint works too. Or (minimal, no-snaps as configured in its installer) Kubuntu, if you need a wayland-based DE because you are using odd monitor setups.
Of course, whatever works.
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.
- 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.
To me, that's kind of one of the primary arguments against flatpak. If I'm still going to need to system package manager for a lot of stuff that's built-in (which I will), I need something that actually layers on top of it, not something entirely separate with its own rules and packages that may or may not fit nicely into what I already have. Your list of features of flatpak is interesting, but your last paragraph doesn't follow from it for me. At most, it describes something that might be advantageous for a developer but is a huge pain as a user, and makes everything else you listed above a much tougher sell, because most of them are not issues I really have as a user (I don't have any need as a user for separate fake home directories per app, an alternate kill command, or an SDK for GUIs, installing from the browser, or non-root installation, and packages for my distro don't seem to have trouble with portals).
> 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
I also can't figure out how the second sentence here is supposed to follow from the first. Syscalls and ABI seem orthogonal to filesystem permissions.
flatpak is developed, among others, by GNOME, KDE and XDG (freedesktop) contributors, with standards for all the (dbus socket file, desktop regular file, wayland socket file) interfaces. flatseal has about 50 permissions for each flatpak (most, but not all, are switches), all those are integrated.
That includes launcher entries, mime type (file type) associations etc. It's not like you have to manually write "flatpak run" as a user.
As for a common shared library ABI, it doesn't exist and so these usually aren't shared with the host while in memory.
The only workable solution this decade is just to have a shared SDK package. I'm not just saying this, I also use nix-based (Guix) distros to fix this the right way too, but seriously, there's a reason SDKs exist--otherwise you just spend all your time boiling the ocean. It never ends.
> (I don't have any need as a user for separate fake home directories per app, an alternate kill command, or an SDK for GUIs, installing from the browser, or non-root installation, and packages for my distro don't seem to have trouble with portals).
I don't understand why not. I mean of course users are different and you have your own requirements, but this is absolutely what I want as a user.
In fact, I used flatpak as a user for years (after cobbling together a crappy variant of it using podman before that) before doing any development with it, specifically because of a lot of those.
Primary of those is a "fake home directory" which I absolutely 100% want. I don't know the app developers from adam, I really don't want to overshare with their programs, often there's really no upside either. A video player gets one video file, it plays it. That's all. Why should it be able to rummage in ~/.ssh or do rm -rf / (even accidentially) or record audio ?
>non-root installation
This is something I want on shared (cluster frontend etc) computers for the weird one-off GUI thing I need once in a blue moon. I don't have root there. Don't want to have root there either.
>packages for my distro don't seem to have trouble with portals
shrugs I am sure there are distros that basically do what flatpak does on their own. I just want to be clear that if you use portals but no containerization, a lot of them are useless (you can do the actions without the portals to begin with, then). Why have them in the first place in that case? Only for (dummy) interface compatibility--which is important.
Which distro are you referring to?
>I also can't figure out how the second sentence here is supposed to follow from the first. Syscalls and ABI seem orthogonal to filesystem permissions.
It doesnt follow. They are two properties. I am only describing flatpak there.
Right now I have GUI system packages (not flatpak) for: niri, dux shell, emacs, opensnitch (personal firewall), Terminal. That's it.
I have about 70 flatpak programs, like Fractal (absolutely do not want to run that without a container--Matrix is too complicated), Blender, Android Studio (0% chance I run that without a container...shudder), Rhythmbox, Celluloid, ...
Note: I am trying to add the wayland-permission-dropping to the guix distribution's guix shell -C (container) command--and the PR is stuck in review for half a year now because I suspect that they just don't understand what it is for. And this is the bare minimum security (at least the containerized programs wouldn't be able to take screenshots etc), like 1% of what flatpak does. This is again boiling the ocean and just not practical.
E.g. I think it conflates packaging and sandboxing, and not really solving any of them properly. For packaging there are way more efficient/elegant solutions (nix, hands down. Once you use it, everything else is just a dirty hack). And sandboxing doesn't go far enough.
But again, much better than without.
https://github.com/flathub-infra/documentation/commit/43e6e1...
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.
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.
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.
Back when I first switched to linux (Ubuntu 7.10), when there were only around 5-6 total entries.
This isn't an opinion on Snaps though, to be clear.
It is ridiculous that this has to be done, but it is possible.
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.
What else to use on the Server?
Seems many people like Alma or Rocky...
Disclaimer, I'm working on something [1] in the space, but I feel like with similar remarks (and I'm not saying they're not warranted sometimes) we're never going to make Linux more easy to use. It's almost impossible right now for a business, let alone a hobbyist, to make something properly and easily available on Linux. We should have an "Install for Linux" button and have it "just work" regardless if you like Snaps or are entirely oblivious to their existence. Maybe then we can start to worry about the details?
[1]: https://packageer.com (warning, wip website)
The other two main "packaged app" formats are Flatpak and AppImage, in addition to Canonical's Snap format. A good quick overview is here:
It might be user error, but it's never been good for me. Edit: https://snapcraft.io/
The upgrade path should be coming in December (so they say)... We shall see.
Now on Fedora with KDE and what a huge improvement. That should be the beginners Linux and not what Ubuntu is now.
I'm not a snapper, so I don't understand the connection or what this intends to say.
Canonical: hold my pint of piss..
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?
This is a company that sent Ubuntu user's local file searches to the cloud so they could inject amazon ads in search results (https://www.eff.org/deeplinks/2012/10/privacy-ubuntu-1210-am...) and pushed ads into the command line (https://linuxiac.com/ubuntu-once-again-angered-users-by-plac...). They clearly don't care at all about their reputation.
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.
https://buymeacoffee.com/uphoenix
> Hate snaps? Write your rant in the message box. If it's good, it goes on ifuckinghatesnaps.com, anonymously.
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.
- Can't install in an Ubuntu Docker container, because it has been turned into a snap and they don't work in Docker.
- Starting Firefox suddenly became unbearably slow on my girlfriends laptop - it had been turned into a snap.
- Gnome3 window tracking for the dash broke for our bespoke Chromium-based webapp wrapper at work because Chromium became a snap.
- LXD suddenly became a snap, so we're now using containers to start containers? Great, maybe we can add even more layers.
- This bug here has been open for 10 years: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575053 It's treated as purely cosmetic, but my father deleted the ~/snaps folder because he didn't recognize it and stuff simply broke.
Here is what I wrote in that bug report, a whopping 4 years ago: [...] And while this bug is about a stupid folder that won't go away, for many of us it's about Canonical not having our best interests at heart any more. That's why I'm leaving the Canonical ecosystem. And I'm taking my employer's infrastructure with me.
That process has since been completed.
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.
I'm sure there's ways to mount SMB into the local filesystem, like we have sshfs for filesystems on other hosts.
First red flag, in order to install an app, I needed to install a new packager manager? Think about it as a user, if you were to install an app, and you were asked to isntall a custom app store, wouldn't that raise suspicion?
Second red flag, static linking of all of the dependencies, does not look sustainable long time, disk space is a concern, but so is efficiency and quality. Do I really think that a dev that bundles everything together and asks me for 5GB of disk space will be of the same quality as a cracked C dev that asks me for 85Kb of space? No, some devs and some software is just better than others, Snap is for slop
In the last few years, in every release, Canonical finds new ways to embed ads in terminal apps or set hostile defaults. It's a really sad case of enshittification.
The ease-of-use moat has also completely evaporated. Even the dumbest LLM can diagnose obscure Arch or Gentoo or NixOS issues.
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.
Looks like they took inspiration from Windows update!