Fedora Linux Support Community & Resources Center
Prev Previous Post   Next Post Next
  #1  
Old 10th April 2012, 08:14 AM
Ashish Sood's Avatar
Ashish Sood Offline
Registered User
 
Join Date: Feb 2009
Location: Gwalior
Posts: 152
linuxredhatfirefox
getting unexpected yum error

Hi All,

Yesterday i installed my fresh system (RHEL5), now when ever i am using yum i am getting a unexpected error , first of all i thought i related with incorrect url which is mention in .repo file so i remove all the repos file from /etc/yum.repos.d directory then i again check it , but still i am getting a below error when i am using any yum command

[YUM]

[root@localhost ~]# yum list
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 38, in main
yum.misc.setup_locale(override_time=True)
File "/usr/lib/python2.4/site-packages/yum/misc.py", line 654, in setup_locale
sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sy s.stdout)
File "/usr/lib/python2.4/codecs.py", line 752, in getwriter
return lookup(encoding)[3]
File "/usr/lib/python2.4/encodings/__init__.py", line 96, in search_function
globals(), locals(), _import_tail)
ValueError: bad marshal data

output of the installed yum pacakes

[root@localhost ~]# rpm -qa yum*


yum-metadata-parser-1.1.2-2.el5
yum-3.2.19-18.el5
yum-security-1.1.16-13.el5
yum-fastestmirror-1.1.16-13.el5
yum-rhn-plugin-0.5.3-30.el5
yum-updatesd-0.9-2.el5
yum-utils-1.1.16-13.el5


Out of the python pacakes

[root@localhost ~]# rpm -qa python*
python-iniparse-0.2.3-4.el5
python-elementtree-1.2.6-5
python-2.4.3-24.el5
python-devel-2.4.3-24.el5
python-numeric-23.7-2.2.2
python-virtinst-0.300.2-12.el5
python-sqlite-1.1.7-1.2.1
python-ldap-2.2.0-2.1
python-urlgrabber-3.1.0-5.el5

Please help me to fix this unexpected problem
__________________
My Passion Is Linux, And Network Security

Last edited by Ashish Sood; 10th April 2012 at 08:17 AM.
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP guru's! Why am I getting unexpected T_STRING error? havenoclu Programming & Packaging 3 8th October 2011 04:33 PM
Fedora 7 Installation - Unexpected Error adilio Installation and Live Media 0 6th June 2007 08:34 PM
Parse error: syntax error, unexpected T_STRING in /home/wwwroot/phpMyAdmin-2.6.2/libr marco75 Servers & Networking 0 18th December 2006 02:35 AM
Another unexpected consistency error on FC3... STAGED EOL (End Of Life) Versions 0 3rd October 2006 06:13 AM
LogVol Unexpected Inconsistency ERROR Kommissar Using Fedora 11 2nd June 2005 09:57 PM


Current GMT-time: 15:59 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat