You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
RHEL onedir install of "3008.0" fails when only RC/pre-release packages are available — exact version pinning mismatch #2113
Installing Salt via bootstrap-salt.sh using the onedir method on RHEL-based distributions fails when only RC/pre-release packages exist in the repo. The same install succeeds on Debian/Ubuntu.
On RHEL, install_centos_onedir() pins the exact version to the package spec (e.g. yum install salt-minion-3008.0). When the repo only has the RC version 3008.0~rc4-0, yum finds no match because RPM treats 3008.0 and 3008.0~rc4 as different versions.
On Debian/Ubuntu, install_debian_onedir() and install_ubuntu_onedir() install packages by name only (apt-get install salt-minion) without pinning a version, so they install whatever the repo provides — including RC packages.
Error Output (AlmaLinux 9)
Available Packages
salt-minion.x86_64 3008.0~rc4-0 salt-repo-3008.0-lts
No match for argument: salt-minion-3008.0
Error: Unable to find a match: salt-minion-3008.0
* ERROR: Failed to run install_almalinux_onedir()!!!
Root Cause
In install_centos_onedir(), the version string is constructed as:
Activity
fix(bootstrap): support Salt 3008+ major versions and fix repo/key is…