yum update after upgrade fedora 19

asked 2013-10-28 13:12:40 -0600

csoliz7 gravatar image

updated 2014-04-11 16:23:18 -0600

remjg gravatar image

After running yum update I get the following output:

Traceback (most recent call last):
  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 355, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 174, in main
    result, resultmsgs = base.doCommands()
  File "/usr/share/yum-cli/cli.py", line 569, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/yumcommands.py", line 494, in doCommand
    ret = base.updatePkgs(extcmds, update_to=(basecmd == 'update-to'))
  File "/usr/share/yum-cli/cli.py", line 1011, in updatePkgs
    self.update()
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4990, in update
    tx_return.extend(self.update(po=new))
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5203, in update
    available_pkg, updated_pkg)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4909, in _add_up_txmbr
    txmbr = self.tsInfo.addUpdate(upkg, ipkg)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 517, in addUpdate
    self.add(txmbr)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 288, in add
    self.addUpdated(oldpo, txmember.po)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 546, in addUpdated
    txmbr = TransactionMember(po)
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 829, in __init__
    po.yumdb_info.get('from_repo')
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1946, in get
    res = self._read(attr)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1861, in _read
    info = misc.stat_f(fn, ignore_EACCES=True)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 960, in stat_f
    return os.stat(filename)
OSError: [Errno 5] Input/output error: '/var/lib/yum/yumdb/k/48e13b2ad0f5f7c100d9b6dbfc501c4e04a84b0c-krb5-devel-1.11.3-2.fc19-x86_64/from_repo'
edit retag flag offensive close merge delete

Comments

Please give more info! Put the whole command and output. Show the installed repositories. Architecture and kernel version. Everything :)

skytux gravatar imageskytux ( 2013-10-28 14:37:46 -0600 )edit

It may be your hard disk is failing. Check that with https://fedoraproject.org/wiki/Smartctl

marcindulak gravatar imagemarcindulak ( 2013-10-29 08:12:15 -0600 )edit