Red Hat Bugzilla – Bug 133582
yum crashes when updating certain packages
Last modified: 2014-01-21 17:50:22 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Description of problem:
When I run 'sudo yum update', yum will show me a list of all of the
available updates to my existing packages and ask me 'Is this ok?' to
which I reply "yes".
However, with certain packages, yum will crash after I reply 'yes' but
before it even makes it to the test transaction. The following is an
excerpt from a conversation I had with skvidal about this bug:
13:44 <clee> I'm getting an OSError closing a file descriptor but only
when I try to 'yum update' certain packages
13:44 <clee> was wondering if you'd seen that
13:45 <skvidal> it's a gpgcheck issue
13:45 <skvidal> I'm closing a file descriptor I already closed
13:45 <clee> aha.
Will attach yum's output to this bugreport.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run 'sudo yum update'
2. Answer 'y' to "Is this ok?"
3. Watch yum crash and burn
Actual Results: yum crashed and gave me a traceback.
Expected Results: yum should have upgraded the packages without crashing.
Created attachment 104294 [details]
Output of yum crashing on update
This is what I get from yum with a broken package. (This is an example trimmed
to show the problem - with any single broken package in a larger update, the
same results occur.)
Could you check out yum cvs and tell me if this is fixed. I think it's
been fixed for a little while now.
I should note that the crash was apparently caused by GPG checking the
packages - if the package was unsigned, yum would crash. However,
setting gpgcheck=0 in my /etc/yum.conf made this particular issue go away.
I have updated to yum CVS and will test against it with the next