View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000606 | AlmaLinux-10 | General | public | 2026-02-02 03:48 | 2026-02-02 03:48 |
| Reporter | dkelson | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | x86_64 | OS | AlmaLinux | OS Version | 10.1 |
| Summary | 0000606: Anaconda rejects x86_64_v2 ISO on x86_64-v3 systems - "Error setting up repositories" | ||||
| Description | When booting the AlmaLinux 10.1 x86_64_v2 DVD ISO on an x86_64 system, anaconda fails to set up the installation source with "Error setting up repositories". Root cause: The .discinfo file on the ISO contains "x86_64_v2" as the architecture, but anaconda's is_valid_install_disk() function in pyanaconda/modules/payloads/source/utils.py performs a strict equality check against blivet.arch.get_arch() which returns "x86_64". The check fails, causing anaconda to reject the valid installation media. The same issue affects _find_first_iso_image() in the same file. x86_64_v2 is a microarchitecture level of x86_64, not a different architecture. Systems running x86_64_v2 code still report as x86_64 via uname. | ||||
| Steps To Reproduce | 1. Download AlmaLinux-10.1-x86_64_v2-dvd.iso 2. Boot from the ISO on any x86_64 system 3. Observe "Installation Source" shows "Error setting up repositories" 4. SSH to installer and check /tmp/packaging.log for "architectures mismatch" errors 5. Verify: cat /mnt/install/repo/.discinfo shows "x86_64_v2" on line 3 6. Verify: python3 -c "from blivet.arch import get_arch; print(get_arch())" shows "x86_64" | ||||
| Additional Information | Affected file: /usr/lib64/python3.12/site-packages/pyanaconda/modules/payloads/source/utils.py Suggested fix: Modify is_valid_install_disk() and _find_first_iso_image() to treat x86_64_v2 as compatible with x86_64: def _arch_matches(disc_arch): system_arch = get_arch() if disc_arch == system_arch: return True if disc_arch == "x86_64_v2" and system_arch == "x86_64": return True return False Workaround: Use inst.updates= boot parameter with patched utils.py in a cpio archive. Forum thread: https://forums.almalinux.org/t/almalinux-10-1-error-setting-up-software-source/4292 | ||||
| Tags | anaconda, installation, x86-64-v2 | ||||