Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 04-09-2013, 03:20 PM   #1
Registered: Apr 2013
Distribution: Ubuntu, Linux Mint, RHEL, CentOS
Posts: 43

Rep: Reputation: Disabled
Exclamation Updates Failing - Problem with

I'm trying to update a machine running REL5. For some reason or another the updates stopped working awhile back. yum update throws the following error:

Trying to mimic ('kernel-i686', 'EQ', ('0', '2.6.18', '238.5.1.el5')) which has no kernel modules installed
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/", line 219, in main
    (result, resultmsgs) = base.buildTransaction() 
  File "/usr/lib/python2.4/site-packages/yum/", line 735, in buildTransaction'postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.4/site-packages/yum/", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/", line 326, in postresolve_hook
    installKernelModules(c, newModules, installedModules)
  File "/usr/lib/yum-plugins/", line 165, in installKernelModules
    for modpo in newModules:
TypeError: iteration over non-sequence
Prior to this I get a whole list of "Bad kmod package '__package name___' does not require a kernel" but from what I've gathered reading old bug reports this isn't anything to worry about. I've looked everywhere online and tried everything I can think of but cannot get past this error. Any ideas? Thanks.
Old 04-10-2013, 01:45 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,169

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
For yum and python errors i first look at python

did you by chance also install python 2.6
or a different version of python 2.4

RHEL5.9 has Python 2.4.3 and that exact version is needed for yum to work
the version in RHN must be used !

then what version of red hat enterprise Linux 5 is this ?
the current kernel for 5.9 is kernel-2.6.18-348.1.1.el5 ( well the CentOS 5.9 )

Yours is "238.5.1.el5" -- a bit old

the kernel 238 update was in RHEL 5.6

seeing as this looks to be a RHEL5.6 install
have you done the normal database clean ?

su -
yum clean all 
rpm --rebuilddb
yum update
also what repos are installed
that " "Bad kmod package '__package name___'"
could be a side affect of incompatible repos installed
rhel5 has a lot of incompatibilities this third party repos ( mostly fixed in RHEL6 )
su -
yum repolist all
and lastly
with this being RHEL have you contacted red hat tech support
you are , after all, paying red hat a fair amount of cash to keep this at RHEL 5.6

this looks to be a problem
a fedora plugin on RHEL

though the two are similar
almost none of fedora software will run right on RHEL
it is just way too NEW

Last edited by John VV; 04-10-2013 at 01:50 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Failing updates teboil12 Linux - Software 3 03-08-2012 01:19 AM
[SOLVED] Web access fine, YaST2 very slow, updates keep failing nnjond Linux - Newbie 1 09-22-2010 02:47 PM
mkinitrd failing after automatic updates --> machine upbootable drfunky SUSE / openSUSE 3 09-30-2009 04:58 PM
synaptic failing to download updates kateshine Ubuntu 3 12-06-2006 02:39 AM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 07:34 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 02:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration