Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpm-ostree override replace --experimental --freeze --from repo=foo bar should enable repo foo #3348

Open
travier opened this issue Jan 20, 2022 · 0 comments
Labels

Comments

@travier
Copy link
Member

travier commented Jan 20, 2022

Host system details

Latest Fedora CoreOS next.

Expected vs actual behavior

rpm-ostree override replace --experimental --freeze --from repo=foo should enable the repo foo and fetch metadata from it before trying to find a package in the repo for the override. If the repo is not enabled, the command fails.

Steps to reproduce it

Follow the steps in #3347 but skip the step manually enabling the repository. Then:

$ sudo rpm-ostree override replace --experimental --freeze --from repo=kernel-vanilla-mainline kernel
Enabled rpm-md repositories: fedora-cisco-openh264 fedora-modular updates-modular updates fedora updates-archive
Importing rpm-md... done
rpm-md repo 'fedora-cisco-openh264' (cached); generated: 2021-09-21T18:07:30Z solvables: 4
rpm-md repo 'fedora-modular' (cached); generated: 2021-10-26T05:08:36Z solvables: 1283
rpm-md repo 'updates-modular' (cached); generated: 2022-01-20T03:00:41Z solvables: 1361
rpm-md repo 'updates' (cached); generated: 2022-01-19T01:42:17Z solvables: 14915
rpm-md repo 'fedora' (cached); generated: 2021-10-26T05:31:27Z solvables: 65732
rpm-md repo 'updates-archive' (cached); generated: 2022-01-19T02:49:26Z solvables: 21161
error: No matches for "kernel" in repo 'kernel-vanilla-mainline'
@travier travier added the bug label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant