Bug 753849

Summary: transaction check failure on libvirt
Product: [Fedora] Fedora Reporter: Eric Blake <eblake>
Component: yumAssignee: Seth Vidal <skvidal>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ffesti, james.antill, maxamillion, pmatilai, tla, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 753915 (view as bug list) Environment:
Last Closed: 2011-11-16 20:01:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 753915    
Attachments:
Description Flags
output of 'yum update -y libvirt' on 32-bit rawhide machine
none
temporary file referenced by failed yum run none

Description Eric Blake 2011-11-14 17:02:38 UTC
Description of problem:
I tried 'yum update libvirt', but yum failed and told me to report this bug.

Version-Release number of selected component (if applicable):
libvirt-0.9.7-1.fc17.i686
yum-3.4.3-11.fc17.noarch

How reproducible:
100%

Steps to Reproduce:
1. 'yum update libvirt'
2.
3.
  
Actual results:
...
Running Transaction Check
ERROR with transaction check vs depsolve:
/usr/bin/stap is needed by libvirt-devel-0.9.7-2.fc17.i686
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum


Expected results:
upgrade should just work

Additional info:

Comment 1 Eric Blake 2011-11-14 17:04:53 UTC
'yum install systemtap' resolved the problem, but that makes it seem like updating libvirt when libvirt-devel is installed should have automatically pulled in systemtap since it provides /usr/bin/stap.

Comment 2 Eric Blake 2011-11-14 17:13:12 UTC
Actually, 'yum install systemtap' is failing:

Error in PREIN scriptlet in rpm package systemtap-1.6-1.fc16.i686
error: %pre(systemtap-1.6-1.fc16.i686) scriptlet failed, exit status 10

So maybe the problem here is that because systemtap isn't getting properly installed, then libvirt-devel doesn't work.

Comment 3 James Antill 2011-11-14 20:39:22 UTC
 If you can still reproduced the first problem ... we need more of the text, to try and see what is going wrong.

Comment 4 James Antill 2011-11-14 20:40:02 UTC
 Note that the problem in comment #2 is a bug in the systemtap packaging, that shouldn't happen, and should be reported there.

Comment 5 Eric Blake 2011-11-14 20:55:35 UTC
Created attachment 533618 [details]
output of 'yum update -y libvirt' on 32-bit rawhide machine

I cloned bug 753915 for the system tap failure.

Meanwhile, I'm attaching an output of the complete 'yum update -y libvirt' to this bug, as well as the temporary file it references.  What else do you need?

Comment 6 Eric Blake 2011-11-14 20:56:33 UTC
Created attachment 533619 [details]
temporary file referenced by failed yum run

Comment 7 Eric Blake 2011-11-14 22:03:54 UTC
The bug in comment 2 turned out to be a SELinux problem; rerunning with SELinux in permissive mode allows systemtap to successfully install, but that's not a long-term solution.

Comment 8 James Antill 2011-11-16 20:01:18 UTC
Yeh, the yum error is self diagnosing:

ERROR with transaction check vs depsolve:
/usr/bin/stap is needed by libvirt-devel-0.9.7-2.fc17.i686
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
libvirt-devel-0.9.7-1.fc17.i686 has missing requires of /usr/bin/stap

...at some point libvirt-devel got installed without the stap dep. ... yum basically ignores this case while rpm gets unhappy.