Bug 1018571

Summary: [abrt] yum-3.4.3-54.fc18: misc.py:975:stat_f:OSError: [Errno 5] Input/output error: '/var/lib/yum/yumdb/p/2b6ac4c3c1307defc12594d471bf7442d2bdc841-perl-HTTP-Cookies-6.01-3.fc18-noarch/from_repo'
Product: [Fedora] Fedora Reporter: Shivam Gupta <hellis_waitin>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: admiller, ffesti, firas.alkafri, hellis_waitin, jzeleny, packaging-team-maint
Target Milestone: ---Flags: hellis_waitin: needinfo?
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:37822fa0ce130f1653f157a8f84a31876860f6e9
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 22:28:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Shivam Gupta 2013-10-13 13:07:38 UTC
Description of problem:
When I run the command "yum list installed" it showed this error.

Version-Release number of selected component:
yum-3.4.3-54.fc18

Additional info:
reporter:       libreport-2.1.7
cmdline:        /usr/bin/python /usr/bin/yum list installed
executable:     /usr/bin/yum
kernel:         3.10.14-100.fc18.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
misc.py:975:stat_f:OSError: [Errno 5] Input/output error: '/var/lib/yum/yumdb/p/2b6ac4c3c1307defc12594d471bf7442d2bdc841-perl-HTTP-Cookies-6.01-3.fc18-noarch/from_repo'

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 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 557, in doCommand
    columns = _list_cmd_calc_columns(base, ypl)
  File "/usr/share/yum-cli/yumcommands.py", line 488, in _list_cmd_calc_columns
    _add_pkg_simple_list_lens(data, pkg)
  File "/usr/share/yum-cli/yumcommands.py", line 475, in _add_pkg_simple_list_lens
    rid = len(pkg.ui_from_repo)
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 813, in <lambda>
    ui_from_repo = property(fget=lambda self: self._ui_from_repo())
  File "/usr/lib/python2.7/site-packages/yum/packages.py", line 805, in _ui_from_repo
    if self.repoid == 'installed' and 'from_repo' in self.yumdb_info:
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1823, in __contains__
    x = self.get(attr)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1853, in get
    res = self._read(attr)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1768, in _read
    info = misc.stat_f(fn, ignore_EACCES=True)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 975, in stat_f
    return os.stat(filename)
OSError: [Errno 5] Input/output error: '/var/lib/yum/yumdb/p/2b6ac4c3c1307defc12594d471bf7442d2bdc841-perl-HTTP-Cookies-6.01-3.fc18-noarch/from_repo'

Local variables in innermost frame:
ignore_EACCES: True
e: OSError(5, 'Input/output error')
filename: '/var/lib/yum/yumdb/p/2b6ac4c3c1307defc12594d471bf7442d2bdc841-perl-HTTP-Cookies-6.01-3.fc18-noarch/from_repo'

Comment 1 Shivam Gupta 2013-10-13 13:07:43 UTC
Created attachment 811743 [details]
File: backtrace

Comment 2 Shivam Gupta 2013-10-13 13:07:48 UTC
Created attachment 811744 [details]
File: environ

Comment 3 Fedora End Of Life 2013-12-21 14:40:03 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2014-02-05 22:28:13 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.