-
Notifications
You must be signed in to change notification settings - Fork 220
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
fedora-toolbox:39 uses dnf4 and dnf upgrade
fails due to dnf version conflict
#1337
Comments
Work is ongoing for the fedora-toolbox container image to be built in the main Fedora composes. |
I think you can try to |
Unfortunately replacing DNF doesn't work either:
The workaround I found is to use the |
Yes I tried briefly too - I think I had installed dnf5 before it replaced dnf... |
I think this should be closed now. |
Okay, closing! Thanks for sorting this one out, @juhp |
Describe the bug
DNF inside a
registry.fedoraproject.org/fedora-toolbox:39
is still DNF4, but it tries to pull from rawhide repos, which assume dnf is version 5. This means that when runningdnf upgrade
in the toolbox, DNF fails with "Problem: The operation would result in removing the following protected packages: dnf"Steps how to reproduce the behaviour
toolbox create -d fedora -r 39
toolbox enter fedora-toolbox-39
sudo dnf upgrade
Expected behaviour
I would expect DNF to allow an upgrade.
Actual behaviour
DNF upgrade fails with error:
Screenshots
N/A
Output of
toolbox --version
(v0.0.90+)toolbox version 0.0.99.4
Toolbox package info (
rpm -q toolbox
)toolbox-0.0.99.4-1.fc38.x86_64
Output of
podman version
Podman package info (
rpm -q podman
)podman-4.5.1-1.fc38.x86_64
Info about your OS
Fedora 38
Additional context
dnf --version
output from within afedora:39
container is DNF5 as expected:But within the
fedora-toolbox:39
container, it's still DNF4, which seems to be the problem:The text was updated successfully, but these errors were encountered: