Live data from Hacker News

Snaps. Why? Please Stop

forums.linuxmint.com

61–70 of 115 posts

Re: Snaps. Why? Please Stop

#61
post #19
post #13

Earlier quoted context omitted.

Well, flatpack still doesn't address the non-gui app/utility part of the equation.

And snap doesn't address the fact that the server components that talk to the snap 'store' software is closed-source and only available from Canonical.

Never claimed it did. Snaps are yet another half baked Canonical tech...

Those of us using immutable distros would love a "flatpack for cli utils". OS-tree layering defeats many of the points of immutability, and pet containers are a bigger pita than they should be. There has to be a better way.

Re: Snaps. Why? Please Stop

#62

Snaps are one of the two main reasons I'm ditching Ubuntu for basic Debian. The other is apt spam berating me to upgrade to their pay security service.

Same here, and the fact that it's way too easy to get in "you can't upgrade" -limbo with Ubuntu on servers I haven't touched for a while.

Went back to Debian stable and zero issues.

Re: Snaps. Why? Please Stop

#63

Snaps are one of the two main reasons I'm ditching Ubuntu for basic Debian. The other is apt spam berating me to upgrade to their pay security service.

Same here, and the fact that it's way too easy to get in "you can't upgrade" -limbo with Ubuntu on servers I haven't touched for a while.

Went back to Debian stable and zero issues. The main reason I went to Ubuntu was that stable Debian used to be veritably ancient. But nowadays I run most of my software in Docker anyway, so it doesn't matter.

Re: Snaps. Why? Please Stop

#64

I use Ubuntu and i'm sick of having snaps forced on me. When I next install, i'm either completely ridding the system of snap or i use another distro. I'm fed up with it. The kicker is sometimes when you use apt to install a package, sometimes it installs a snap! It's madness!

What are the programs that you've had to install through snap?

Or are you talking about the existence of snap on the system in general?

Personally I have not a single snap packge installed, and am usually able to find sources for the programs I use elswhere than in the snap ecosystem.

Re: Snaps. Why? Please Stop

#65
post #6

Why? Because of Dependency Hell. Apt sometimes even tries to solve "circular dependencies". Ridiculous.

Have plenty of PPAs on my system but also make sure to do propper pinning.

Haven't had any major dependency related issue in years.

Re: Snaps. Why? Please Stop

#66

Earlier quoted context omitted.

I recommend Pop!_OS (despite the stupid name). It is basically Ubuntu without the annoying bits.

Pop!_OS is good, but going from Ubuntu to Pop!_OS doesn't really help with the Snaps issue.

Unless I purposely removed it and blanked the memory of it, Pop just deals in deb's and flatpak.

Not that I'm entirely jazzed with flatpak.. Poor construction of the permissions can lead to shitty experience that doesn't happen with a deb.

Re: Snaps. Why? Please Stop

#67
post #37
post #35

This is discussion at 2019-2021. There are many distros where snapd is not installed by default, including Linux Mint: https://snapcraft.io/docs/installing-snapd Nobody is forcing you to use distro that includes snapd by default. Snap has advantages for server software that are using Snap strict sandbox: - Strict sandbox does not allow read access outside of /var/snap/APPNAME/common . Only common directory is writeab…

I have ~8 self-hosted services with docker-compose and one with snap (nextcloud). While I get that snap gets some flak for how cavalier it can be with your system, ultimately my nextcloud is always up to date and I've had very little effort to put into it in over 7-8 years, which is not something I can say from my running docker containers. It might not be for everyone, but from a security standpoint it's much less f…

Snaps have some cool use cases, like the one you mentioned. flatpak isn't there yet for CLI apps or hosting stuff from when I last checked, and the snaps for things like nextcloud just work. On a desktop system though, it's clear that everyone should just adopt flatpak for a universal app standard for the time being.

Re: Snaps. Why? Please Stop

#68

Ignoring Snaps - what are Flatpaks like today? Totally understand the value in a distribution model like Flatpaks and am willing to adopt them but I haven't had the smoothest experience with them in the past so I tend to avoid them right now. The last time I tried them was longer than 12 months ago - I installed Discord and it was missing some features at the time due to sandboxing (I don't remember exactly, it was e…

In my experience you'll sadly still run into issues when running apps that weren't designed by the original authors to be used as flatpaks due to the permission issues you mentioned.

I see it as a necessary evil since a proper permissions system will make the attack surface for desktop apps much smaller in the long run, and the flatpak portals have the advantage of being much more visible and controllable by ordinary users than AppArmor or selinux (if there were even profiles) before them.

Re: Snaps. Why? Please Stop

#69
post #4

I won't use Snaps. Please stop trying to work around my chosen distro's package maintainers. If I want to use your program and there isn't a package for it, I'll build it from source myself.

Hear! hear!... and I will stick with Debian as long as the do not embrace said OS blasphemy.

Re: Snaps. Why? Please Stop

#70
post #4

I won't use Snaps. Please stop trying to work around my chosen distro's package maintainers. If I want to use your program and there isn't a package for it, I'll build it from source myself.

> Please stop trying to work around my chosen distro's package maintainers.

Is your chosen distro Ubuntu?

Post reply on HN