Skip to content

Fix install from local RPMs with --installroot and --disablerepo=*#563

Open
sshedi wants to merge 1 commit intovmware:stable-3.6from
sshedi:installrepo-3.6
Open

Fix install from local RPMs with --installroot and --disablerepo=*#563
sshedi wants to merge 1 commit intovmware:stable-3.6from
sshedi:installrepo-3.6

Conversation

@sshedi
Copy link
Contributor

@sshedi sshedi commented Mar 14, 2026

Internalise the cmdline repo before building file provides so that file dependencies (e.g. /usr/bin/cp for bash) are satisfied from the RPMs being installed. Without this, file provides were built before the cmdline repo was internalized, so the solver did not see them and resolution failed with "nothing provides ...".
Add a pytest that reproduces this scenario (download bash then install from local RPMs into installroot with --disablerepo=*), skipped when the package server is unreachable.

Fixes: e890607

@sshedi sshedi force-pushed the installrepo-3.6 branch 2 times, most recently from 9b14915 to 5592dc1 Compare March 14, 2026 13:22
Internalize the cmdline repo before building file provides so file deps
(e.g. /usr/bin/cp for bash) are satisfied from the RPMs being installed.

Add pytest that runs this scenario when package server is reachable

Fixes: e890607

Signed-off-by: Shreenidhi Shedi <shreenidhi.shedi@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants