Bug 753849 - transaction check failure on libvirt
Summary: transaction check failure on libvirt
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 753915
TreeView+ depends on / blocked
 
Reported: 2011-11-14 17:02 UTC by Eric Blake
Modified: 2014-01-21 23:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 753915 (view as bug list)
Environment:
Last Closed: 2011-11-16 20:01:18 UTC
Type: ---


Attachments (Terms of Use)
output of 'yum update -y libvirt' on 32-bit rawhide machine (2.53 KB, text/plain)
2011-11-14 20:55 UTC, Eric Blake
no flags Details
temporary file referenced by failed yum run (2.88 KB, application/octet-stream)
2011-11-14 20:56 UTC, Eric Blake
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.