Bug 728323
Summary: | anaconda fails if yum repo changes during installation | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Bastian <jbastian> |
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | aflierl, anaconda-maint-list, cww, ffesti, g.kaviyarasu, james.antill, jonathan, maxamillion, pmatilai, tim.lauridsen, vanmeeuwen+fedora, zpavlas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 720481 | Environment: | |
Last Closed: | 2012-04-20 18:14:07 UTC | Type: | --- |
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: | 720481, 814099 | ||
Bug Blocks: |
Description
Jeff Bastian
2011-08-04 17:28:07 UTC
Since all metadata parsing and repo handling is done in Yum, I suppose Yum people should decide if they want to handle this situation. My opinion is that if you are recreating repository, you should be doing it in different directory and then do two atomic renames (I know it is only somewhat useful while fetching through http, but still...). I've added code to createrepo upstream which does. --retain-old-md=RETAIN_OLD_MD keep around the latest (by timestamp) N copies of the old repodata So if you are updating a repo, we can keep around the last N copies of the primary, filelists and changelog metadata, so situations like this will be less likely to happen since the files will still exist. Now - the pkgs they refer to may not exist anymore but the metadata won't abort. Can maybe just close this out with NaB ... or we could maybe change anaconda to set mdpolicy = "group:all", so this can't happen (just for the MD). Or rely on the createrepo thing (maybe even change the default to keep around the last 2 or something). |