Hide Forgot
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...
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.