Bug 1153639

Summary: [abrt] yum-utils: auto-update-debuginfo.py:96:_write_cached:OSError: [Errno 2] No such file or directory
Product: [Fedora] Fedora Reporter: John Dodson <jwadodson>
Component: yum-utilsAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, packaging-team-maint, tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c92dcf2a253c4b07a28aea7f5991e136d67afc4d
Whiteboard: abrt_hash:56963dfbf16ca1258d71c225b69d16f031d0a3bb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 22:55:51 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: dso_list
none
File: environ none

Description John Dodson 2014-10-16 12:15:45 UTC
Description of problem:
when checking for orphans

Version-Release number of selected component:
yum-utils-1.1.31-23.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /bin/package-cleanup --quiet --orphans
executable:     /bin/package-cleanup
kernel:         3.16.4-200.fc20.i686+PAE
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
auto-update-debuginfo.py:96:_write_cached:OSError: [Errno 2] No such file or directory

Traceback (most recent call last):
  File "/bin/package-cleanup", line 400, in <module>
    util = PackageCleanup()
  File "/bin/package-cleanup", line 60, in __init__
    self.main()
  File "/bin/package-cleanup", line 362, in main
    for po in sorted(self.doPackageLists(pkgnarrow='extras').extras):
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3018, in doPackageLists
    avail = self.pkgSack.simplePkgList(patterns=patterns,
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1082, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 786, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 344, in populateSack
    self.doSetup()
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 122, in doSetup
    self.ayum.plugins.run('prereposetup')
  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 188, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 115, in prereposetup_hook
    _write_cached(cfname, rpmdbv, num)
  File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 96, in _write_cached
    os.rename(cfname + ".tmp", cfname)
OSError: [Errno 2] No such file or directory

Local variables in innermost frame:
cdname: '/var/lib/yum/plugins/auto-update-debuginfo'
num: 0
cfname: '/var/lib/yum/plugins/auto-update-debuginfo/num'
rpmdbv: '4121:6d9a20ed27353c634223eb87fa54423ff617e887'
fo: <closed file '/var/lib/yum/plugins/auto-update-debuginfo/num.tmp', mode 'w' at 0x9e9c808>

Comment 1 John Dodson 2014-10-16 12:15:48 UTC
Created attachment 947580 [details]
File: backtrace

Comment 2 John Dodson 2014-10-16 12:15:50 UTC
Created attachment 947581 [details]
File: dso_list

Comment 3 John Dodson 2014-10-16 12:15:51 UTC
Created attachment 947582 [details]
File: environ

Comment 4 Fedora End Of Life 2015-05-29 13:06:01 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 EOL if it remains open with a Fedora  'version'
of '20'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 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 this bug is closed as described in the policy above.

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 5 Fedora End Of Life 2015-06-29 22:55:51 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.