Files
webmin/software
Ilia Ross 2568bc5f07 Fix mixed DNF package installation
This patch fixes package installation when a request contains both installed and missing packages.

DNF 4 uses one `install` transaction, while DNF 5 updates installed packages first and installs missing packages only after the update succeeds.

It preserves architecture package handling, always installs required repository packages, and prevents an empty package list from becoming a full system update.

The complete transaction reads from `/dev/null`, and tests cover DNF 4, DNF 5, installed, missing, mixed, and empty package sets.

Live AlmaLinux testing also confirmed both the single-command and chained-command paths.
2026-10-17 02:03:27 +02:00
..
…
2025-08-19 22:45:46 +03:00
…
…
2025-08-19 22:45:46 +03:00
2025-08-19 22:45:46 +03:00
…
2024-02-13 14:16:24 -08:00
2025-08-19 22:45:46 +03:00
2026-10-17 02:03:27 +02:00