Bug 757389

Summary: libreport should obsolete report-plugins
Product: [Fedora] Fedora Reporter: David Juran <djuran>
Component: yumAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: low    
Version: 16CC: dvlasenk, ffesti, james.antill, jmoskovc, kklic, maxamillion, mlichvar, mmilata, mnowak, mtoman, npajkovs, pmatilai, tim.lauridsen, 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: 2012-05-17 13:09:28 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:    
Bug Blocks: 744774    

Description David Juran 2011-11-26 19:24:35 UTC
Description of problem:
After upgrading form F14 where I had report-plugin-scp and report-plugin-ftp installed, yum upgrade fails since these packages have dependencies on report (which apparently is replaced bt libreport) but there isn't anything providing nor obsoleting these packages.

Version-Release number of selected component (if applicable):
libreport-2.0.7-1.fc16

How reproducible:
Every time

Steps to Reproduce:
1. yum upgrade
  
Actual results:
ERROR with transaction check vs depsolve:
report = 0.20-1.fc14 is needed by (installed) report-plugin-scp-0.20-1.fc14.x86_64
report = 0.20-1.fc14 is needed by (installed) report-plugin-ftp-0.20-1.fc14.x86_64

Comment 1 Jiri Moskovcak 2011-12-14 12:39:51 UTC
This seems more like a yum problem. There is package libreport-plugin-reportuploader which has this in spec file:

%package plugin-reportuploader
Summary: %{name}'s reportuploader plugin
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: abrt-plugin-reportuploader < 2.0.4
Provides: report-plugin-ftp = 0.23-1
Obsoletes: report-plugin-ftp < 0.23-1
Provides: report-config-ftp = 0.23-1
Obsoletes: report-config-ftp < 0.23-1
Provides: report-plugin-scp = 0.23-1
Obsoletes: report-plugin-scp < 0.23-1
Provides: report-config-scp = 0.23-1
Obsoletes: report-config-scp < 0.23-1

- so it seems to me, like yum from F14 fails to see this Provides/Obsoletes (or rpm??) -> reassigning

Comment 2 seth vidal 2011-12-14 17:21:22 UTC
insufficient specification of the version. If you prepend a 0: to the version/release specification of the obsoletes then they will likely catch report-plugin*/report-config*

Comment 3 Panu Matilainen 2011-12-15 06:10:21 UTC
Missing zero epoch is not supposed to make any difference, if it does it's a bug.

Comment 4 Jiri Moskovcak 2011-12-15 13:22:42 UTC
I agree with Panu on this, but to make sure I added the epoch to our spec file. Moving back to yum.

Comment 5 seth vidal 2011-12-15 14:12:42 UTC
please supply the complete output of 

yum -d 7 upgrade


I suspect this is still not a yum bug.

Comment 6 James Antill 2011-12-16 16:40:07 UTC
Had a look at this and everything seems fine, get lots of obsoletes ... it's possible it's a bug in F14's yum, I guess. Can you upload the output?

Comment 7 David Juran 2012-01-19 11:52:47 UTC
Tried reproducing this issue by installing a new F14 (not necessarily with the same package set as the original machine) and then upgrading it to F16 and running "yum upgrade" but I didn't hit the issue.

If we're not getting any further, please feel free to close this issue as "works_for_me"

Comment 8 Fedora Admin XMLRPC Client 2012-04-27 15:28:03 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Jiri Moskovcak 2012-05-17 13:09:28 UTC
Closing per comment #7