Skip to content

Added a check to prevent [multilib-testing] from being enabled on non-multilib systems - #3916

Closed
meatsnails wants to merge 0 commit into
archlinux:masterfrom
meatsnails:master
Closed

Added a check to prevent [multilib-testing] from being enabled on non-multilib systems#3916
meatsnails wants to merge 0 commit into
archlinux:masterfrom
meatsnails:master

Conversation

@meatsnails

Copy link
Copy Markdown

A fix to the issue I described in #3915
I added a check to the archinstall/lib/pacman/config.py under the repos_to_enable logic that ensures multilib-testing will only be enabled when multilib and testing are both set

I tested by installing in a VM from the latest iso (archlinux-2025.11.01-x86_64.iso) both with and without multilib + testing and both times (I watched during the install process and checked the installed system's pacman.conf file to ensure the repos we properly set)

@meatsnails
meatsnails requested a review from Torxed as a code owner November 10, 2025 03:49
Comment thread archinstall/lib/pacman/config.py Outdated
if repo == Repository.Testing:
repos_to_enable.extend(['core-testing', 'extra-testing', 'multilib-testing'])
repos_to_enable.extend(['core-testing', 'extra-testing'])
elif repo == Repository.Multilib:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this change would prevent Repository.Multilib.value from being appended to repos_to_enable.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my oversight I think i fixed it and let me test it some more to be sure

@meatsnails
meatsnails marked this pull request as draft November 10, 2025 20:49
@meatsnails meatsnails closed this Nov 10, 2025
@meatsnails

Copy link
Copy Markdown
Author

closing this because I made the git log a mess (end my suffering)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants