this post was submitted on 14 Oct 2024
178 points (95.9% liked)

Technology

59438 readers
3145 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jonne@infosec.pub 19 points 1 month ago (3 children)

The issues are twofold: Linux distros historically update software through a package manager. Something that was working fine for everyone, however it was causing a lot of work for maintainers. They got together and designed a packaging format for software that works across all Linux distributions called 'flatpak'. However, Ubuntu decided to create an alternative called Snap, which solves the same problem, except it's not used by anyone else.

Also, there's some implementation details that make it look messy in your system (every application is mounted as it's own filesystem, so if you use tools to list your disk's there's a bunch of weird spammy looking drives and things like that).

[–] WindyRebel@lemmy.world 4 points 1 month ago (2 children)

Awesome! Thank you for this explanation. So it’s mostly just because it’s a redundancy and specific to a certain distro (Ubuntu in this case)?

[–] neblem@lemmy.world 10 points 1 month ago

Specific to Ubuntu, not very open for collaboration, and operated by the company who owns the Ubuntu trademarks. Additionally they've made it unnecessarily difficult to install non-snap versions of many popular packages. (they removed non-snap versions from upstream Debian repositories).

[–] Moobythegoldensock@lemm.ee 3 points 1 month ago

No, redundancy is fine. It’s the proprietary backend and Ubuntu forcing it on users that people don’t like.

[–] realharo@lemm.ee 2 points 1 month ago* (last edited 1 month ago) (3 children)

Native package managers were not "working fine for everyone", the software and libraries in them are often very outdated and contain custom patches that don't come from the original software authors.

So you often end up dealing with bugs that were already fixed and the fixes released months ago.

That's one of the main reasons I use a rolling release distro. I used Arch for years, and now I use Tumbleweed.

With packaged apps (like flatpak, snap, etc), you can end up with outdated dependencies in those apps because they bundle everything together. So instead of fixing bugs once for everyone, you have to pester each individual package maintainer to update the dependencies. However, this is mitigated by having these apps be somewhat containerized and limiting impact of a breach on other apps, so YMMV depending on what kind of sandboxing you use.

I'm not really decided here, and I use both flatpaks and distro packages. I don't touch snaps though.

[–] catloaf@lemm.ee 2 points 1 month ago

That sounds like the maintainer's problem, not a problem with apt/dnf/whatever. We've had automated build processes for decades. If you want stable, use a stable distro; if you want the latest, use a rolling release like Arch or something.

[–] jonne@infosec.pub 1 points 1 month ago

Other distros were faster with updating packages, or for Ubuntu specifically you had PPAs or repositories maintained by the vendor.

[–] tankplanker@lemmy.world 2 points 1 month ago (1 children)

Didn't it also used to be noticeably slower than apt installed apps? This was one of the reasons I got rid of it at the time, Ive heard it has better performance now but not tried it.

[–] jonne@infosec.pub 2 points 1 month ago

I think that's mostly solved, but yeah, some of the sandbox stuff affected performance.