Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th August 2012, 12:38 AM
jgoulart Offline
Registered User
 
Join Date: Apr 2008
Location: Brazil
Age: 56
Posts: 3
linuxfirefox
Yum problem on Fedora 17

After upgrading to Fedora 17, yum was working fine, after some update I receive this screen with python errors:
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 319, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 144, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 485, in doCommands
return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
File "/usr/share/yum-cli/yumcommands.py", line 887, in doCommand
self._grp_setup_doCommand(base)
File "/usr/share/yum-cli/yumcommands.py", line 793, in _grp_setup_doCommand
base.doGroupSetup()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 881, in doGroupSetup
return self._getGroups()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 906, in _getGroups
self.pkgSack
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1013, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 777, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 302, in populateSack
self.doSetup()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 127, in doSetup
self.retrieveAllMD()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 83, in retrieveAllMD
if repo._async and repo._commonLoadRepoXML(repo):
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1339, in _commonLoadRepoXML
self._repoXML = self._parseRepoXML(result)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1135, in _parseRepoXML
return repoMDObject.RepoMD(self.id, local)
File "/usr/lib/python2.7/site-packages/yum/repoMDObject.py", line 124, in __init__
self.parse(srcfile)
File "/usr/lib/python2.7/site-packages/yum/repoMDObject.py", line 140, in parse
parser = iterparse(infile)
File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1210, in ElementTree_iterparse
return __cached_ElementTree.iterparse(filename)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1203, in iterparse
parser = XMLParser(target=TreeBuilder())
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1466, in __init__
"No module named expat; use SimpleXMLTreeBuilder instead"
ImportError: No module named expat; use SimpleXMLTreeBuilder instead
-------------------------------------------------------------------------------------
any clues to solve that?
Reply With Quote
  #2  
Old 10th August 2012, 10:45 PM
arifur Offline
Registered User
 
Join Date: Jun 2012
Location: Bangladesh
Posts: 13
windows_7firefox
Re: Yum problem on Fedora 17

Try removing and installing the latest version yum.
Reply With Quote
Reply

Tags
fedora, problem, yum

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
Installing one package out of many! A Fedora problem or developer problem jakebpg Using Fedora 28 29th January 2011 12:49 PM
HD problem with fedora 12 installation (LVM partition problem?) warlus Hardware & Laptops 1 30th July 2010 11:01 AM
Problem in booting Fedora 10 after upgrading from Fedora 9 Thomas Anderson Installation and Live Media 0 27th May 2009 02:53 PM
Fedora newbie, windows problem, network problem dustin0 Using Fedora 24 21st October 2007 06:47 AM
Fedora 7 install problem (nVidia SATA raid problem?) jdmclemore Installation and Live Media 12 23rd July 2007 04:03 PM


Current GMT-time: 08:14 (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