Bug 1116614

Summary: Latest ceph-0.81.0-4 package includes new libcephfs1 but does not obsolete ceph-libcephfs from 0.81.0-2
Product: [Fedora] Fedora Reporter: Hans de Goede <hdegoede>
Component: cephAssignee: Boris Ranto <branto>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: collura, david, fedora, kmansoft, redhat-bugzilla, steve
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1:ceph-0.80.5-6.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-17 15:55:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Hans de Goede 2014-07-06 14:41:03 UTC
See $summary, this causes yum transaction errors like this:

Transaction check error:
  file /usr/lib64/libcephfs.so.1.0.0 from install of libcephfs1-0.81.0-4.fc21.x86_64 conflicts with file from package ceph-libcephfs-0.81.0-2.fc21.x86_64

Comment 1 Kostya Vasilyev 2014-07-06 21:17:43 UTC
I started getting this today (July 6) when trying to yum update Fedora 20 with testing repos enabled:

$ sudo yum update 
Loaded plugins: langpacks, remove-with-leaves
Resolving Dependencies
--> Running transaction check
---> Package ceph-libs.x86_64 0:0.81.0-1.fc20 will be obsoleted
--> Processing Dependency: ceph-libs >= 0.61 for package: 2:qemu-common-1.6.2-6.fc20.x86_64
Package ceph-libs is obsoleted by libcephfs1, but obsoleting package does not provide for requirements
---> Package libcephfs1.x86_64 0:0.81.0-4.fc20 will be obsoleting
---> Package librados2.x86_64 0:0.81.0-4.fc20 will be obsoleting
---> Package librbd1.x86_64 0:0.81.0-4.fc20 will be obsoleting
--> Finished Dependency Resolution
Error: Package: 2:qemu-common-1.6.2-6.fc20.x86_64 (@updates-testing)
           Requires: ceph-libs >= 0.61
           Removing: ceph-libs-0.81.0-1.fc20.x86_64 (@updates-testing)
               ceph-libs = 0.81.0-1.fc20
           Obsoleted By: librbd1-0.81.0-4.fc20.x86_64 (updates-testing)
               Not found
           Available: ceph-libs-0.67.3-2.fc20.i686 (fedora)
               ceph-libs = 0.67.3-2.fc20
           Available: ceph-libs-0.80.1-2.fc20.i686 (updates)
               ceph-libs = 0.80.1-2.fc20
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Comment 2 Kaleb KEITHLEY 2014-07-07 11:59:43 UTC

*** This bug has been marked as a duplicate of bug 1116546 ***

Comment 3 Hans de Goede 2014-07-07 12:41:47 UTC
(In reply to Kaleb KEITHLEY from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 1116546 ***

Erm, I deliberately opened a new bug for this, rather then adding myself to the CC of bug 1116546, as this is NOT the same bug. bug 1116546 is about missing provides, this is about missing *obsoletes*, big difference!

Comment 4 Boris Ranto 2014-08-17 15:55:44 UTC
Fixed in 1:ceph-0.80.5-6.fc22 -> closing. Feel free to reopen if the build did not fix the issue for you.