Bug 462158
Summary: | optparse.OptionConflictError: option --skip-broken | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dave Blackburn <blackburn> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8 | CC: | blackburn, ffesti, james.antill, katzj, pmatilai, tim.lauridsen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.2.19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-10-27 16:05:22 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: |
Description
Dave Blackburn
2008-09-13 04:24:34 UTC
I uncovered the following: grep -A 3 -r 'skip-broken' /usr/share/yum-cli /usr/share/yum-cli/cli.py: self.add_option("--skip-broken", action="store_true", dest="skipbroken", /usr/share/yum-cli/cli.py- help=_("skip packages with depsolving problems")) So --skip-broken is being defined in two places apparently. Here as well as above: grep -A 3 -r 'skip-broken' /usr/lib/yum-plugins -- /usr/lib/yum-plugins/skip-broken.py: parser.add_option("", "--skip-broken", dest="skipbroken", /usr/lib/yum-plugins/skip-broken.py- action="store_true", default=False, /usr/lib/yum-plugins/skip-broken.py- help="skip packages with broken dependencies") That would explain this conflict since the option is added two places: conflicting option string(s): --skip-broken the --skip-broken has been added to the yum, so the yum-skip-broken plugin should not be used any more. so remove it, will solve your issue. there need to added some obsoletion for the yum-skip-broken in the yum rpm, i thought it was added, but don't look to be the case. it has been added and pushed now, I believe. |