Skip to content

Allow package selection from all configured repositories - #4842

Open
theironrobin wants to merge 2 commits into
archlinux:masterfrom
theironrobin:fix/package-repos
Open

theironrobin wants to merge 2 commits into
archlinux:masterfrom
theironrobin:fix/package-repos

Conversation

@theironrobin

Copy link
Copy Markdown

relates to: https://gitlab.archlinux.org/archlinux/ports/aarch64/project-management/-/work_items/16

Description

Two small improvements to the additional package selection menu.

  1. Show packages from all configured repositories

Previously, the additional package selector only displayed packages from a hardcoded list of repositories (core, extra, and optionally enabled repositories).

This prevented packages from custom repositories already configured in /etc/pacman.conf from appearing in the selection menu, even though pacman could discover and install them.

The repository allowlist has been removed so packages from all configured repositories are available for selection.

  1. Dynamically display configured repositories

The package loading screen now displays the repositories detected from the current pacman configuration instead of relying on a hardcoded list.

For example, with core, extra, and forge configured:

Repositories: core, extra, forge
Loading packages...

This preserves the repository order defined in the pacman configuration.

Testing

Tested on Arch Linux AArch64 with a custom [forge] repository configured in /etc/pacman.conf.

  • Packages from core and extra remain available.
  • Packages from forge appear in the additional package selector.
  • The loading screen lists the configured repositories.
  • No changes to package installation behavior are required.

Scope

This change only affects repositories already configured in the live environment. Custom repositories added through Archinstall's own configuration menu are not included until they are applied to pacman's configuration.
image

@theironrobin
theironrobin requested a review from Torxed as a code owner October 13, 2026 19:42
@h8d13

h8d13 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Tested menu-only, using CachyOS repos (added last). Seems to work fine 👍

This branch has not been deployed

No deployments
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