Skip to content

fix: hint to run rpmoci update when build download fails#246

Merged
dsteeley merged 2 commits into
mainfrom
fix/build-hint-on-download-failure
May 13, 2026
Merged

fix: hint to run rpmoci update when build download fails#246
dsteeley merged 2 commits into
mainfrom
fix/build-hint-on-download-failure

Conversation

@dsteeley
Copy link
Copy Markdown
Collaborator

When pinned packages are removed from a rolling repo (e.g. UBI9 only retains the latest package version), rpmoci build fails at download time with "Package could no longer be found in repositories". The error was correct but gave no guidance on how to resolve it.

Add context to the lockfile.build() call so failures include a suggestion to run rpmoci update to regenerate the lock file.

dsteeley added 2 commits May 12, 2026 08:58
When pinned packages are removed from a rolling repo (e.g. UBI9 only
retains the latest package version), rpmoci build fails at download
time with "Package could no longer be found in repositories". The
error was correct but gave no guidance on how to resolve it.

Add context to the lockfile.build() call so failures include a
suggestion to run `rpmoci update` to regenerate the lock file.

Fixes: DEVX-544
@dsteeley dsteeley force-pushed the fix/build-hint-on-download-failure branch from 97756c7 to 37e04ec Compare May 12, 2026 08:51
@dsteeley
Copy link
Copy Markdown
Collaborator Author

Plan to fix cargo-deny issues in a separate PR.

@dsteeley dsteeley requested a review from tofay May 12, 2026 08:53
@dsteeley dsteeley merged commit be807c7 into main May 13, 2026
6 of 8 checks passed
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