Fluxion::PackageManager
Inherits Enum < Comparable < Value < Object
Every package manager Fluxion can drive.
Flatpak and Cargo sit alongside the system managers because profiles select
them by the same packageManager field, even though neither can perform a
system update — see #supports_system_update?.
Constants
Class methods
Instance methods
Argv for a pre-install action such as a metadata refresh, plus the exit
codes that count as success. dnf check-update exits 100 when updates
are available, which is the answer to the question, not a failure.
AUR helpers refuse to run as root and escalate themselves for the pacman steps that need it, so Fluxion must not wrap them in sudo.
Argv that installs one package. Fluxion installs a package per process so a single bad name cannot take the rest of the list down with it.
A leading "sudo" is a marker, not the final command: the shell runner rewrites it into a non-interactive invocation with a trust-resolved target before anything is spawned.
Argv that reports whether a package is already installed, without touching the network.
system-update needs a manager that owns the whole system's packages.
Cargo and Flatpak each own a slice of it, so "upgrade everything" has no
meaning for them and the profile is asking for something impossible.
Appends a String representation of this enum member to the given io.
See also: to_s.