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

Update to 5.0.14 in Rawhide #635

Closed
14 of 16 tasks
jan-kolarik opened this issue Jun 21, 2023 · 5 comments
Closed
14 of 16 tasks

Update to 5.0.14 in Rawhide #635

jan-kolarik opened this issue Jun 21, 2023 · 5 comments

Comments

@jan-kolarik
Copy link
Member

jan-kolarik commented Jun 21, 2023

This is intended as a tracking issue about problems found related to dnf5 5.0.14 bodhi update (switching to dnf5 as default package manager) in Rawhide.

There is a list of problems discovered so far:

@mattiaverga
Copy link

I think another problem is that $releasever is expanded as rawhide instead of 39.
Trying to enable the fedora-infra repository fails because the URL is expanded to https://kojipkgs.fedoraproject.org/repos-dist/frawhide-infra/ instead of https://kojipkgs.fedoraproject.org/repos-dist/f39-infra/.

@m-blaha
Copy link
Member

m-blaha commented Jun 29, 2023

The releasever detection algorithm hasn't changed in dnf5 (there still can be a bug in implementation, though).
The releasever is determined by the version of system-release(releasever) provide (there are other fallbacks, but this has the highest priority):

# dnf repoquery --whatprovides 'system-release(releasever)'
fedora-release-common-0:39-0.14.noarch

# dnf repoquery --provides fedora-release-common | grep releasever
system-release(releasever) = rawhide

@mattiaverga
Copy link

Uh, I was wrong. I've started to see some automated tests failing with an error about dnf being unable to load a repository and I thought it was due to a different variable expansion.
The truth is that dnf just ignored the broken repository, while dnf5 doesn't ignore the error and causes the failure. For reference see https://github.com/fedora-infra/bodhi/actions/workflows/tests.yml

@juhp
Copy link

juhp commented Jul 5, 2023

On the other hand, dnf copr enable ... requires one to mention explicitly the rawhide chroot because dnf-5.0.15 assumes the rawhide chroot is fedora-39-x86_64 (not actual fedora-rawhide-x86_64).

Happy to open a new issue if you prefer.

edit I opened #706

@jan-kolarik
Copy link
Member Author

jan-kolarik commented Dec 1, 2023

All fixes related to the functionality of DNF5 itself discovered here should now be resolved. I've created a follow-up issue for the remaining deployment-related things that are to be addressed during the planned future switch.

@github-project-automation github-project-automation bot moved this from In Progress to Done in DNF team Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

5 participants