| Summary: | yum doesn't handle provides/obsoletes properly | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jiri Moskovcak <jmoskovc> |
| Component: | yum | Assignee: | Seth Vidal <skvidal> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dfediuck, ffesti, james.antill, maxamillion, pmatilai, robatino, tla, zpavlas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-18 13:27:53 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
my bad, yum was using stalled metadata and I didn't expect that yum clean all would clean cache only for enabled repos, so after yum clean all --enablerepo="*" everything works ok. |
Description of problem: I'm trying to obsolete 2 packages: report-plugin-bugzilla report-config-bugzilla-redhat-com by one package: libreport-plugin-bugzilla yum fails with: --> Processing Dependency: report-plugin-bugzilla = 0.22-0.fc15 for package: report-config-bugzilla-redhat-com-0.22-0.fc15.x86_64 --> Finished Dependency Resolution Error: Package: report-config-bugzilla-redhat-com-0.22-0.fc15.x86_64 (@updates) Requires: report-plugin-bugzilla = 0.22-0.fc15 Removing: report-plugin-bugzilla-0.22-0.fc15.x86_64 (@updates) report-plugin-bugzilla = 0.22-0.fc15 Obsoleted By: libreport-plugin-bugzilla-2.0.4.30.gdd4c.dirty-1.fc15.x86_64 (abrt2) report-plugin-bugzilla = 0.22-1 Available: report-plugin-bugzilla-0.20-2.fc15.x86_64 (fedora) report-plugin-bugzilla = 0.20-2.fc15 but rpm -Uvh works fine Version-Release number of selected component (if applicable): yum-3.2.29-9.fc16.noarch snippets from my spec file: %package plugin-bugzilla Summary: %{name}'s bugzilla plugin Group: System Environment/Libraries Requires: %{name} = %{version}-%{release} Obsoletes: abrt-plugin-bugzilla < 2.0.4 Provides: report-plugin-bugzilla = 0.22-1 Obsoletes: report-plugin-bugzilla < 0.22-1 Provides: report-config-bugzilla-redhat-com = 0.22-1 Obsoletes: report-config-bugzilla-redhat-com < 0.22-1 How reproducible: 100% Steps to Reproduce: 1. create a repo with the latest libreport package 2. yum update Actual results: yum fails to update the package, but rpm -U works fine Expected results: installed libreport-bugzilla, obsoleted report-bugzilla and report-config-bugzilla-redhat-com Additional info: the libreport-plugin-bugzilla is obviously in the transaction, but it seems like yum doesn't process all of the provides/obsoletes of that package...