Re:The new APT 3.0 solver
by stock_toaster on Tuesday May 14, 2024 @07:14PM
(#40361218)
Alpine has a similar /etc/apk/world file. Further, you can edit this file and then `apk fix` will update the system to reflect any changes.
Debian has debfoster.
Re:The new APT 3.0 solver
by adgjlsfhk1 on Tuesday May 14, 2024 @10:02PM
(#40362325)
I think OSes really should take inspiration from the newest generation of programming languages here. Rust and Julia (as well as a few others) do a lot better than the OS. Features like environments (e.g. for installing per user packages), and a clean separation of a project and an environment would be very nice.
Re:The new APT 3.0 solver
by yjftsjthsd-h on Wednesday May 15, 2024 @03:09AM
(#40363964)
I hesitate to say it because it comes up in approximately every single conversation about package management, but... NixOS does all of those things. Whole list of packages in configuration.nix, whole of /etc encoded into configuration.nix, flakes let you pin everything, (therefore) it's trivial to check the whole OS config (packages, versions, configurations) into version control, home manager lets you do all this per-user (or you can do it in the system-wide configuration.nix if you really want), and you can drop a flake.nix+flake.lock in any project directory and scope things that way.
Re:The new APT 3.0 solver
by julian-klode on Wednesday May 15, 2024 @06:20AM
(#40365049)
apt-mark showmanual shows you all manually installed packages and apt-mark auto marks stuff as automatically installed.
The list of manually installed packages is effectively the "world".
The new solver takes inspiration from apk in that it marks the world/manually installed packages the root of the dependency problem (hence why they can't be removed by the solver itself, only manually).
I think nix has something similar. I wish Debian/ubuntu had something like that - maybe it does - but I’ve never figured it out.