Bug 1295219
Summary: | UX: AssertionError: Can not load repo. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | G. Michael Carter <mikey> |
Component: | dnf | Assignee: | rpm-software-management |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | low | ||
Version: | 23 | CC: | jsilhan, mikey, mluscon, packaging-team-maint, pnemade, qubes.reporter, vmukhame |
Target Milestone: | --- | Keywords: | Triaged, UserExperience |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-12-20 17:34:36 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: |
Description
G. Michael Carter
2016-01-03 18:08:12 UTC
The repodata seems to be invalid. With just `createrepo_c` without additional flags works fine. Does yum loads it? Here's the status so far. ran: strace -e access,open dnf makecache -v This was allowing me to guess at what files it was having issues with. Would be nice if dnf could report more about why it can't load the repo. Would make troubleshooting a little easier. Building with createrepo (yum) on fedora 21...yum worked find, dnf failed. So I revised my upgrade plans and upgraded the server where the repo mirror sits to fedora 23. Now with createrepo_c was getting same results yum worked dnf worked some times... then stopped all together. Then found that dnf reposync deletes rpms after downloading them... so the mirrors were all screwed up. (which turns out dnf wasn't using the keepcache from any of the config files... ended up having to add --setopt keepcache=1 to the command line) Also found if createrepo_c crashes/stops... it can leave the repo in a weird way. Just noticed this .repodata exists message in my logs. "Temporary repodata directory /u2/Repositories/x86_64/f23-everything/.repodata/ already exists! (Another createrepo process is running?)" which seems to have deleted the repodata directory at some point. Now I'm hitting this: # /usr/bin/createrepo_c /u2/Repositories/x86_64/f23-everything Directory walk started Directory walk done - 46074 packages Temporary output repo path: /u2/Repositories/x86_64/f23-everything/.repodata/ Preparing sqlite DBs Pool started (with 5 workers) Segmentation fault (core dumped) still working on this... got createrepo_c to create the repos no problem but still have one failing. As I said would be nice to know why "Can not load repo". *** Bug 1298495 has been marked as a duplicate of this bug. *** In my case managed to track down the problem to this updateinfo file. I temporarily changed the load_updateinfo=True to load_updateinfo=False and things started to work. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. It should print better output message. What was wrong, which metadata file is broken, etc. This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. It works in our testing instance without updateinfo data. Probably there's the issue is in repo generation in createrepo_c (-pd, --compatibility) Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |