SCIENTIFIC-LINUX-USERS Archives

July 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Ichihara Takashi <[log in to unmask]>
Reply To:
Ichihara Takashi <[log in to unmask]>
Date:
Wed, 15 Jul 2009 00:52:19 +0900
Content-Type:
text/plain
Parts/Attachments:
text/plain (267 lines)
Hi, Dawson

Our current kernel and yum modules are now as follows.

[root]# rpm -qa | grep kernel | sort
kernel-2.6.18-128.1.10.el5.x86_64
kernel-2.6.18-128.1.14.el5.x86_64
kernel-devel-2.6.18-128.1.10.el5.x86_64
kernel-devel-2.6.18-128.1.14.el5.x86_64
kernel-doc-2.6.18-128.1.14.el5.noarch
kernel-headers-2.6.18-128.1.14.el5.x86_64
kernel-module-fuse-2.6.18-128.1.10.el5-2.6.3-1.sl5.x86_64
kernel-module-fuse-2.6.18-128.1.14.el5-2.6.3-1.sl5.x86_64
kernel-module-ipw3945-2.6.18-128.1.10.el5-1.2.0-2.sl5.x86_64
kernel-module-ipw3945-2.6.18-128.1.14.el5-1.2.0-2.sl5.x86_64
kernel-module-openafs-2.6.18-128.1.10.el5-1.4.7-68.2.SL5.x86_64
kernel-module-openafs-2.6.18-128.1.14.el5-1.4.7-68.2.SL5.x86_64
openafs-kernel-source-1.4.7-68.2.SL5.x86_64
[root]#

[root]# rpm -qa | grep yum | sort
yum-3.2.19-18.sl.noarch
yum-conf-53-1.SL.noarch
yum-cron-0.6-3.el5.noarch
yum-downloadonly-1.1.16-14.el5.noarch
yum-installonlyn-0.6-1.SL.noarch
yum-metadata-parser-1.1.2-2.el5.x86_64
[root]#

# uname -a
Linux abc.riken.jp 2.6.18-128.1.14.el5 #1 SMP Tue Jun 16 18:47:37 EDT
2009 x86_64 x86_64 x86_64 GNU/Linux
[root@]#

The Initial OS installation on this node was SL 4.4 (X86_64) (installed
every
modules) on March 2007 and I have updated to SL4.7 by YUM step by step
at the each minor release and then updated to SL5.3 by anaconda with two
DVD-iso images recently . After that, I have removed many old kernels and
kernel modules by hand (rpm -el).

Cheers,
Takashi Ichihara


Troy Dawson wrote
> Hi,
> What version of yum are you currently using?  Can you send that to me?
> Also, can you send me the output of
>   rpm -qa | grep kernel | sort
>
> And, I have a new version of yum for SL5 comming out today.  I haven't
> pushed it out yet, but you could try it.
>
>   yum --enablerepo=sl-testing update yum
>
> Troy
>
> Takashi Ichihara wrote:
>   
>>  Hi
>>
>> Thanks for your suggestion. I have updated each modules by yum
>> many times and finally the kernel and kernel modules remained. The
>> yum-update of kernel and kernel modules seems to case this problem.
>>
>> Experimentally, I have erased the kernel 2.6.18-128.1.1.el5 and related
>> modules by hand (rpm -el) and after that, the yum update worked.
>> I do not understand why this solved. But anyway, the problem was
>> solved.
>>
>> Regards,
>> Takashi Ichihara
>>
>> [root]#yum update
>> :
>> Dependencies Resolved
>>
>> ======================================================================================================================================================
>> Package Arch Version Repository Size
>> ======================================================================================================================================================
>> Installing:
>> kernel x86_64 2.6.18-128.1.14.el5 sl-security 17 M
>> kernel-devel x86_64 2.6.18-128.1.14.el5 sl-security 5.1 M
>> kernel-module-fuse-2.6.18-128.1.14.el5 x86_64 5:2.6.3-1.sl5 sl-security
>> 212 k
>> kernel-module-ipw3945-2.6.18-128.1.14.el5 x86_64 1.2.0-2.sl5 sl-security
>> 332 k
>> kernel-module-openafs-2.6.18-128.1.14.el5 x86_64 1.4.7-68.2.SL5
>> sl-security 285 k
>> Removing:
>> kernel x86_64 2.6.18-128.1.1.el5 installed 83 M
>> kernel-devel x86_64 2.6.18-128.1.1.el5 installed 16 M
>> Removing for dependencies:
>> kernel-module-openafs-2.6.18-128.1.1.el5 x86_64 1.4.7-68.2.SL5 installed
>> 1.0 M
>>
>> Transaction Summary
>> ======================================================================================================================================================
>> Install 5 Package(s)
>> Update 0 Package(s)
>> Remove 3 Package(s)
>>
>> Total download size: 25 M
>> Is this ok [y/N]: y
>> Downloading Packages:
>> (1/5): kernel-module-fuse-2.6.18-128.1.14.el5-2.6.3-1.sl5.x86_64.rpm |
>> 212 kB 00:00
>> (2/5):
>> kernel-module-openafs-2.6.18-128.1.14.el5-1.4.7-68.2.SL5.x86_64.rpm |
>> 285 kB 00:00
>> (3/5): kernel-module-ipw3945-2.6.18-128.1.14.el5-1.2.0-2.sl5.x86_64.rpm
>> | 332 kB 00:00
>> (4/5): kernel-devel-2.6.18-128.1.14.el5.x86_64.rpm | 5.1 MB 00:00
>> (5/5): kernel-2.6.18-128.1.14.el5.x86_64.rpm | 17 MB 00:00
>> ------------------------------------------------------------------------------------------------------------------------------------------------------
>> Total 15 MB/s | 23 MB 00:01
>> Running rpm_check_debug
>> 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 229, in user_main
>> errcode = main(args)
>> File "/usr/share/yum-cli/yummain.py", line 181, in main
>> return_code = base.doTransaction()
>> File "/usr/share/yum-cli/cli.py", line 405, in doTransaction
>> msgs = self._run_rpm_check_debug()
>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 3193, in
>> _run_rpm_check_debug
>> self.populateTs(test=1)
>> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 261, in
>> populateTs
>> self.ts.addErase(txmbr.po.idx)
>> File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046, in
>> __getattr__
>> return self.hdr[thing]
>> KeyError: 'unknown header tag'
>>
>> [root]# rpm -el kernel-module-fuse-2.6.18-128.1.1.el5-2.6.3-1.sl5.x86_64
>> kernel-devel-2.6.18-128.1.1.el5.x86_64 kernel-2.6.18-128.1.1.el5.x86_64
>> kernel-module-ipw3945-2.6.18-128.1.1.el5-1.2.0-2.sl5.x86_64
>> kernel-module-openafs-2.6.18-128.1.1.el5-1.4.7-68.2.SL5.x86_64
>>
>> [root]# yum update
>> :
>> Dependencies Resolved
>>
>> ======================================================================================================================================================
>> Package Arch Version Repository Size
>> ======================================================================================================================================================
>> Installing:
>> kernel x86_64 2.6.18-128.1.14.el5 sl-security 17 M
>> kernel-devel x86_64 2.6.18-128.1.14.el5 sl-security 5.1 M
>> kernel-module-fuse-2.6.18-128.1.14.el5 x86_64 5:2.6.3-1.sl5 sl-security
>> 212 k
>> kernel-module-ipw3945-2.6.18-128.1.14.el5 x86_64 1.2.0-2.sl5 sl-security
>> 332 k
>> kernel-module-openafs-2.6.18-128.1.14.el5 x86_64 1.4.7-68.2.SL5
>> sl-security 285 k
>>
>> Transaction Summary
>> ======================================================================================================================================================
>> Install 5 Package(s)
>> Update 0 Package(s)
>> Remove 0 Package(s)
>>
>> Total size: 22 M
>> Is this ok [y/N]: y
>> Downloading Packages:
>> Running rpm_check_debug
>> Running Transaction Test
>> Finished Transaction Test
>> Transaction Test Succeeded
>> Running Transaction
>> Installing : kernel [1/5]
>> WARNING: No module mptscsi found for kernel 2.6.18-128.1.14.el5,
>> continuing anyway
>> WARNING: No module qla2300 found for kernel 2.6.18-128.1.14.el5,
>> continuing anyway
>> Installing : kernel-devel [2/5]
>> Installing : kernel-module-fuse-2.6.18-128.1.14.el5 [3/5]
>> Installing : kernel-module-openafs-2.6.18-128.1.14.el5 [4/5]
>> Installing : kernel-module-ipw3945-2.6.18-128.1.14.el5 [5/5]
>>
>> Installed: kernel.x86_64 0:2.6.18-128.1.14.el5 kernel-devel.x86_64
>> 0:2.6.18-128.1.14.el5 kernel-module-fuse-2.6.18-128.1.14.el5.x86_64
>> 5:2.6.3-1.sl5 kernel-module-ipw3945-2.6.18-128.1.14.el5.x86_64
>> 0:1.2.0-2.sl5 kernel-module-openafs-2.6.18-128.1.14.el5.x86_64
>> 0:1.4.7-68.2.SL5
>> Complete!
>> [root]# reboot
>>
>> [root]# uname -a
>> Linux abc.riken.jp 2.6.18-128.1.14.el5 #1 SMP Tue Jun 16 18:47:37 EDT
>> 2009 x86_64 x86_64 x86_64 GNU/Linux
>> [root@]#
>>
>>
>>
>>
>>
>> Troy Dawson wrote
>>     
>>> Sounds like your yum is corrupted, or you replaced your python.
>>>   rpm -qa | grep yum | sort
>>>   rpm -V yum
>>>
>>> Troy
>>>
>>> Takashi Ichihara wrote:
>>>   
>>>       
>>>>  Hi
>>>>
>>>> Recently, yum on SL5.3 (X86_64)
>>>> # uname -a
>>>> Linux abc.riken.jp 2.6.18-128.1.10.el5 #1 SMP Thu May 7 12:48:13 EDT
>>>> 2009 x86_64 x86_64 x86_64 GNU/Linux
>>>>
>>>> yum update fails with KeyError: 'unknown header tag'.
>>>> Done anyone know how to solve this problem ?
>>>>
>>>> Thank you for the information.
>>>>
>>>> Takashi Ichihara
>>>>
>>>> # yum update
>>>>
>>>> :
>>>> Transaction Summary
>>>> ================================================================================
>>>> Install 5 Package(s)
>>>> Update 46 Package(s)
>>>> Remove 3 Package(s)
>>>>
>>>> Total size: 180 M
>>>> Is this ok [y/N]: y
>>>> Downloading Packages:
>>>> Running rpm_check_debug
>>>> 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 229, in user_main
>>>> errcode = main(args)
>>>> File "/usr/share/yum-cli/yummain.py", line 181, in main
>>>> return_code = base.doTransaction()
>>>> File "/usr/share/yum-cli/cli.py", line 405, in doTransaction
>>>> msgs = self._run_rpm_check_debug()
>>>> File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 3193, in
>>>> _run_rpm_check_debug
>>>> self.populateTs(test=1)
>>>> File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 261, in
>>>> populateTs
>>>> self.ts.addErase(txmbr.po.idx)
>>>> File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1046, in
>>>> __getattr__
>>>> return self.hdr[thing]
>>>> KeyError: 'unknown header tag'
>>>> #
>>>>     
>>>>         
>>>   
>>>       
>
>
>   

ATOM RSS1 RSS2