Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-29-2013, 06:16 AM   #1
LQ Newbie
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
Problem with updating yum and installing software in Fedora 17

Hi, I am not an expert in Linux and recently migrated from windows. The problem I have faced recently is that when I want to update my fedora 17 through the command : sudo yum update, I receive the following error.

[mahdi@localhost ~]$ sudo yum update 
Loaded plugins: langpacks, presto, refresh-packagekit
Traceback (most recent call last):
  File "/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/", line 319, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/", line 144, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/", line 485, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/", line 405, in doCommand
    return base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
  File "/usr/share/yum-cli/", line 899, in updatePkgs
  File "/usr/lib/python2.7/site-packages/yum/", line 4697, in update
    updates = self.up.getUpdatesTuples()
  File "/usr/lib/python2.7/site-packages/yum/", line 1032, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),
  File "/usr/lib/python2.7/site-packages/yum/", line 839, in _getUpdates
    self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList())
  File "/usr/lib/python2.7/site-packages/yum/", line 1013, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/", line 779, in _getSacks
  File "/usr/lib/python2.7/site-packages/yum/", line 309, in populateSack
  File "/usr/lib/python2.7/site-packages/yum/", line 134, in doSetup
  File "/usr/lib/python2.7/site-packages/yum/", line 84, in retrieveAllMD
    dl = repo._async and repo._commonLoadRepoXML(repo)
  File "/usr/lib/python2.7/site-packages/yum/", line 1365, in _commonLoadRepoXML
    result = self._getFileRepoXML(local, text)
  File "/usr/lib/python2.7/site-packages/yum/", line 1143, in _getFileRepoXML
    size=102400) # setting max size as 100K
  File "/usr/lib/python2.7/site-packages/yum/", line 950, in _getFile
    result = self.grab.urlgrab(misc.to_utf8(relative), local,
  File "/usr/lib/python2.7/site-packages/yum/", line 626, in <lambda>
    grab = property(lambda self: self._getgrab())
  File "/usr/lib/python2.7/site-packages/yum/", line 621, in _getgrab
  File "/usr/lib/python2.7/site-packages/yum/", line 586, in _setupGrab
    urls = self.urls
  File "/usr/lib/python2.7/site-packages/yum/", line 806, in <lambda>
    urls = property(fget=lambda self: self._geturls(),
  File "/usr/lib/python2.7/site-packages/yum/", line 803, in _geturls
  File "/usr/lib/python2.7/site-packages/yum/", line 769, in _baseurlSetup
  File "/usr/lib/python2.7/site-packages/yum/", line 513, in check
    'Cannot find a valid baseurl for repo: %s' % self.ui_id
  File "/usr/lib/python2.7/site-packages/yum/", line 387, in _ui_id
    if '$releasever' in val:
TypeError: argument of type 'Undefined' is not iterable
would anyone helps me on this issue.
Old 08-29-2013, 03:16 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,464

Rep: Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605Reputation: 2605
seeing as fedora 17 is past it's " End Of Life "
and that there is and never will be any updates
you will NOT find any updates for fedora 17

it is a dead version

Please install the current version
Fedora 19

Fedora is a very fast passed research and development distro

with a new and often VERY different version released every 6 months
and support for any one version for only 13 months .

you also have a python error
a likely cause is installing a different version of python than was in the old fedora 17 repo
yum MUST, 100% MUST ,have installed the SPECIFIC version of python that is in the base repo

You MUST use that version and have that version installed !!!

so to solve this

do a new clean install of fedora 19


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
problem in updating fedora 18 by yum dnskdas Linux - Software 9 06-10-2013 09:57 AM
Problem installing packages with yum (Fedora 14) masju Linux - Newbie 4 04-09-2012 06:09 PM
problem in installing and updating klamav in Fedora Core-9 Biswajit Ransingh Fedora 0 07-19-2008 06:06 AM
Exclude updating apps software using yum jojojo Linux - Newbie 1 06-12-2006 03:32 PM
Updating Fedora 3 with yum pongmaster Fedora 3 03-15-2005 01:11 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:57 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