Retry startup package installs behind the rpm lock and EPEL key
A fresh up of almalinux-9 could fail at startup_wait: dnf could not verify the EPEL 9 key while an rpm lock clash held the database, and the ERR trap signalled failed. A second up passed.
Startup now installs packages through one helper. It waits up to 40 seconds for a running dnf or rpm, imports the EPEL key once epel-release is present, runs the install, and on failure clears dnf metadata and retries, three attempts in all. When they run out the ERR trap still signals failed. The Fedora branch and the core tool installs use the same helper; the GPU lane is unchanged.
flowchart LR
A[wait for dnf or rpm] --> B[import EPEL key] --> C{dnf install}
C -- ok --> D[done]
C -- fail, attempts left --> E[dnf clean all, back off] --> A
C -- fail, none left --> F[ERR trap: failed]Test: engine-selftest stubs dnf to fail once and asserts the retry, the key import before the install, and the metadata clear. Red on the old startup.sh (5 FAIL), green on the new. Live: up --base omnibus --image-family almalinux-9 --no-gitlab completed startup in 130s and rpm -q fail2ban returned fail2ban-1.1.0-6.el9. That boot did not hit the lock, so no retry ran; the journal shows the key import before the fail2ban install.
Closes #74