Ask Your Question
0

Error with yum update Fedora 17

asked 2012-06-27 22:13:44 -0500

Nelson Caballero gravatar image

updated 2014-09-30 23:18:24 -0500

mether gravatar image

Hi guys!

I have a problem: after succesfully update my system through command "yum update" a few days ago, today, I tried to update, but, boom!!

# yum update
Complementos cargados:langpacks, presto, refresh-packagekit, tidy-cache, yum-fast-downloader
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/yummain.py", line 321, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 146, 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 405, in doCommand
    return base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
  File "/usr/share/yum-cli/cli.py", line 890, in updatePkgs
    self.update()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4364, in update
    updates = self.up.getUpdatesTuples()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1032, in <lambda>
    up = property(fget=lambda self: self._getUpdates(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 837, in _getUpdates
    self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList())
  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 331, in populateSack
    sack._retrieve_async(repo, data)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 144, in _retrieve_async
    repo._retrieveMD(mydbtype, async=True, failfunc=None)
TypeError: myRetrieveMD() got an unexpected keyword argument 'async'

I got that :(

Any ideas?? This is a critical error!! :s

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-27 22:55:06 -0500

davidva gravatar image

I think so its problem about yum-fast-downloader

try it:

su

yum -y remove yum-fast-downloader

rm -f /etc/yum.repos.d/yum-fast.repo

yum -y update
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-27 22:13:44 -0500

Seen: 1,617 times

Last updated: Jun 27 '12