Bug 688338

Summary: Upgrade from libguestfs 1.2.7 to libguestfs 1.7.17 fails because of febootstrap dependency
Product: Red Hat Enterprise Linux 6 Reporter: Chris Lalancette <clalance>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: bharrington, jzheng, leiwang
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-17 08:44:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Failed upgrade of febootstrap-supermin-helper none

Description Chris Lalancette 2011-03-16 20:16:58 UTC
Created attachment 485827 [details]
Failed upgrade of febootstrap-supermin-helper

Description of problem:
We temporarily carry the libguestfs 1.7.17 and febootstrap 2.11 RPMs for RHEL-6 in a custom repository.  When trying to install oz on RHEL-6.0, a co-worker ran into a dependency problem which I believe is related to libguestfs.  I'll attach a file which has the full output of the transaction, but what I think is happening is:

1)  The custom repository has python-libguestfs as a requirement, which is not currently installed.
2)  When it runs across this requirement, yum satisfies it by grabbing the latest version of python-libguestfs available, which is 1.7.17.
3)  libguestfs version 1.2.7 (from RHEL-6.0) is currently installed, and because it is older than python-libguestfs 1.7.17, it is set to be updated.
4)  Based on 3) febootstrap-supermin-helper 2.11 needs to be installed.
5)  febootstrap 2.7 is already installed, and has some files that directly conflict with febootstrap-supermin-helper, causing the failure.

I think that the problem here is that febootstrap 2.11 depends on febootstrap-supermin-helper 2.11 (and not vice-versa), so the fact that febootstrap-supermin-helper gets set to be updated does not force febootstrap to be updated.  In turn, I believe this is a dependency problem in libguestfs; it currently Requires: febootstrap-supermin-helper, but I think it should actually Require: febootstrap, which I think would clear this up.

Comment 2 Richard W.M. Jones 2011-03-17 08:44:46 UTC
Gaah, stupid "yum".

libguestfs should depend on febootstrap-supermin-helper
(see bug 669839).

I think what needs to happen is that febootstrap-supermin-helper
should
Obsoletes: febootstrap < 2.11
(and perhaps Provides also?)

I'm going to have to test this.  In the meantime I've
made this a duplicate (and reopened) bug 669839.

Comment 3 Richard W.M. Jones 2011-03-17 08:44:56 UTC

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