Hacker News new | ask | show | jobs
by SwellJoe 4 days 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.