nobody_1677

joined 1 week ago
[–] nobody_1677@lemmy.world 1 points 4 hours ago* (last edited 4 hours ago)

I'm saying that we should be able to use package managers like DNF similarly to homebrew. Rather than managing system packages, it would only be used for packages the user installs. Whether it installs them into /usr/local, /home/dnf, ~/.local/bin doesn't matter. All that matters is that it's not managing system packages or mixing system-installed/user-installed packages.

Homebrew isn't perfect. Awhile ago I tried to go all homebrew for my packages, but sshfs ended up not working (maybe a SELinux issue?). So I had to fallback to overlaying the package. Simiarly, I tried to install tailscale from brew, couldn't get it to work.

It's just that in "immutable" (I know how much you hate the term lol), there's package manager fatigue.

  • There's flatpak, which is only meant for GUI apps but for certain GUI apps (like IDEs), it's not good.
  • There's distrobox, which works for both GUI and CLI, but it adds some friction and sometimes the containerization breaks certain functionality.
  • Brew largely avoids the issues of distrobox and works for GUI and CLI, but the GUI app selection is limited and as I mentioned, sshfs and tailscale didn't work for me there.
  • And so to work around the issues of those 3, we get yet another way to install packages (systemd system extensions
  • (and of course that's not even speaking of snap, appimage, cpak, unpackaged apps, etc)

My thesis is essentially that we're creating too many package package managers with too many compromises. Traditional package management is far from perfect, but at least those package managers, you can do essentially anything. Brew could be that, if it had more GUI apps and maybe better SELinux integration (I say that not knowing for 100% sure that SELinux was the cause of my sshfs issuse). I would like for people to take a step back and find simpler solutions, make a single package manager that can handle any kind of package.

Edit: correction, tested again and sshfs is actually working, not sure what was causing the original issue. though I still have sshfs overlayed, maybe that provides some necessary dependency or SELinux tweak?

[–] nobody_1677@lemmy.world 1 points 2 days ago (2 children)

So if i were to "sudo dnf install neovim" on Bluefin, that would install Neovim to ~/.local/bin?

I didn't mean to say that Universal Blue specifically was making new package managers, but that in general new package managers have been created specifically to solve problems introduced by going immutable/atomic/image-based/whatever.

[–] nobody_1677@lemmy.world 2 points 4 days ago

We are discussing immutable distros, where you don't have apt/dnf/guix/whatever installed on the host system. They are replaced with other package managers. On Ubuntu Core, that is snap. On Fedora Atomic, that is rpm-ostree, flatpak, and toolbox.

MacOS is immutable, there is no non-immutable version.

[–] nobody_1677@lemmy.world 2 points 4 days ago* (last edited 4 days ago) (2 children)

MacOS's has been immutable for a while now. But that's not what I was referring to. Homebrew also works on Linux, lots of CLI tools and libraries are available there. It does have some GUI apps, but not as many packaged as for MacOS.

[–] nobody_1677@lemmy.world 2 points 4 days ago (4 children)

That's not the reason. On immutable distros, you can still mess up your flatpak packages, distrobox containers, homebrew packages, etc.

Only "OS" files like those in /bin prevent accidental modification and removal since you cannot directly change them, even with root.

[–] nobody_1677@lemmy.world 1 points 4 days ago (10 children)

It's not how you "generally" do it because many immutable distro developers keep developing additional ways to do package management that are more and more complicated.

[–] nobody_1677@lemmy.world 6 points 1 week ago

Any program that takes in input has a greater chance of bugs that may result in security vulnerabilities. And I should hope that a text editor can take inputs...