Bug 250908
| Summary: | yum crash with empty repository | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ed Swierk <eswierk> | ||||||
| Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 8 | CC: | james.antill | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2007-12-06 15:44:15 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: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ed Swierk
2007-08-05 00:39:59 UTC
Created attachment 160705 [details]
Fix for empty repo crash
Created attachment 160706 [details]
Traceback
1. I'm sorry, somehow I never got a notice about this bug at linux.duke.edu bugzilla. That bz instance is not a happy one. 2. I can't figure out a way to replicate this bug. I've tested with 3.2.2 and current development and I can't make it happen. Can you help me with a test case? thanks Woops, I forgot to mention that this only occurs with the priorities plugin enabled (I noted this in the yum bugzilla report but forgot to copy it over to this one...). I'll try to come up with a concise test case tomorrow. Here's the easiest way to reproduce the crash on a freshly-installed Fedora 7 system: - yum install yum-priorities - edit /etc/yum/plugins.d/priorities.conf: [main] enabled=1 check_obsoletes=1 - yum --disablerepo=* update This is obviously a contrived case, but the crash also occurs if all the enabled repositories happen to contain no packages. Ditto on F8. I can't make this happen on 3.2.8 with priorties installed. # yum --disablerepo='*' --enablerepo=empty update Setting up Update Process No Packages marked for Update try to replicate this on 3.2.8 in f8 updates-testing or updates and reopen if it doesn't fix it - but closing this works for me for now. |