View Issue Details

IDProjectCategoryView StatusLast Update
0000606AlmaLinux-10Generalpublic2026-02-02 03:48
Reporterdkelson Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSAlmaLinuxOS Version10.1
Summary0000606: Anaconda rejects x86_64_v2 ISO on x86_64-v3 systems - "Error setting up repositories"
DescriptionWhen 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 InformationAffected 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
Tagsanaconda, installation, x86-64-v2

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-02-02 03:48 dkelson New Issue
2026-02-02 03:48 dkelson Tag Attached: anaconda
2026-02-02 03:48 dkelson Tag Attached: installation
2026-02-02 03:48 dkelson Tag Attached: x86-64-v2