LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 04-09-2013, 03:20 PM   #1
ss32
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
Exclamation Updates Failing - Problem with fedorakmod.py?


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:

Code:
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/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 219, in main
    (result, resultmsgs) = base.buildTransaction() 
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 735, in buildTransaction
    self.plugins.run('postresolve', rescode=rescode, restring=restring)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/fedorakmod.py", line 326, in postresolve_hook
    installKernelModules(c, newModules, installedModules)
  File "/usr/lib/yum-plugins/fedorakmod.py", 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
Guru
 
Registered: Aug 2005
Posts: 12,665

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
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 ?

Code:
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 )
Code:
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
Quote:
/usr/lib/yum-plugins/fedorakmod.py
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.
 
  


Reply


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/Novell 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


All times are GMT -5. The time now is 05:31 PM.

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