Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1566593
Summary: | dnf cannot update or install some packages in rawhide: ValueError: The supplied metadata version isn't supported | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Randy Barlow <rbarlow> |
Component: | dnf | Assignee: | Martin Hatina <mhatina> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | awilliam, dmach, dwysocha, jscalia, kgiusti, mhatina, mmathesi, packaging-team-maint, paul.destefano-redhat2, psabata, pwhalen, robatino, rpm-software-management, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | dnf-2.7.5-9.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-15 02:40:25 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1469206 |
Description
Randy Barlow
2018-04-12 15:06:35 UTC
As a workaround, I can disable the modular repo: # dnf upgrade --disablerepo rawhide-modular This is probably problem of metadata. I suspect that on rawhide module metadata are in v2, which is not supported by dnf-2.7.5-8. Try updating dnf to dnf-2.7.5-9 or newer. Yes, this is because the latest DNF in F28 doesn't support v2. I created an update for dnf-2.7.5-9 yesterday so that people don't have to download it from koji but this is probably going to bite many. I have encountered the same issue starting with the docker image "docker.io/fedora:28". "dnf update" followed by "dnf install fedora-repos-modular" works fine. "dnf install fedora-repos-modular" followed by "dnf update" explodes with the exception shown in the description above. could the update also include an updated fedora-repos-modular which requires the updated dnf, to avoid fresh installs possibly falling into the same trap as Merlin hit? Does that make sense? This actually seems to affect simply booting an install of current Fedora Server 28 and running 'dnf' - it broke multiple openQA tests today: https://openqa.fedoraproject.org/tests/221593 https://openqa.fedoraproject.org/tests/221589 https://openqa.fedoraproject.org/tests/221584 https://openqa.fedoraproject.org/tests/221587 so obviously +1 blocker. dnf-2.7.5-9.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6aacf0bd62 dnf-2.7.5-9.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. fwiw, workaround that worked for me # cat /tmp/bz1566593-workaround.sh #!/bin/sh mkdir /tmp/bz1566593 cd /tmp/bz1566593 for f in https://kojipkgs.fedoraproject.org//packages/dnf/2.7.5/9.fc28/noarch/python3-dnf-2.7.5-9.fc28.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.7.5/9.fc28/noarch/dnf-2.7.5-9.fc28.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.7.5/9.fc28/noarch/dnf-automatic-2.7.5-9.fc28.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.7.5/9.fc28/noarch/dnf-conf-2.7.5-9.fc28.noarch.rpm https://kojipkgs.fedoraproject.org//packages/dnf/2.7.5/9.fc28/noarch/dnf-yum-2.7.5-9.fc28.noarch.rpm https://kojipkgs.fedoraproject.org//packages/libmodulemd/1.4.1/1.fc28/x86_64/libmodulemd-1.4.1-1.fc28.x86_64.rpm https://kojipkgs.fedoraproject.org//packages/pyliblzma/0.5.3/21.fc28/x86_64/pyliblzma-0.5.3-21.fc28.x86_64.rpm; do wget $f; done dnf --disablerepo=* install -y *.rpm |