Fedora 20 - AssertionError no yum update / yum install

1

Quando executo yum update ou yum install , recebo o seguinte erro:

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 355, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 670, in doTransaction
    problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2434, in downloadPkgs
    presto.rebuild(po)
  File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 289, in rebuild
    self.dequeue_max()
  File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 325, in dequeue_max
    if not self.dequeue(block=False):
  File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 331, in dequeue
    self._wait()
  File "/usr/lib/python2.7/site-packages/yum/drpm.py", line 259, in _wait
    assert pid in self.jobs
AssertionError

Para mais informações, consulte: link

Como posso corrigir isso?

    
por Chris Snow 08.03.2015 / 23:03

1 resposta

1

A solução para esse problema foi simplesmente executar:

yum clean all

ou

yum clean metadata

Depois de executar isso, consegui yum update sem problemas.

    
por 08.03.2015 / 23:03

Tags