Bug 863162

Summary: [abrt] yum-3.4.3-26.fc17: rpmsack.py:1112:_put_cached_simpleVersion_main:OSError: [Errno 2] No such file or directory
Product: [Fedora] Fedora Reporter: Alexander Lipatov <alexlpt>
Component: yumAssignee: Fedora Packaging Toolset Team <packaging-team>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: ffesti, maxamillion, packaging-team, tim.lauridsen, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:d49c4496de0a0c37b386f8e66de53d75d261e612
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-01 08:08:37 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:

Description Alexander Lipatov 2012-10-04 15:00:40 UTC
Version-Release number of selected component:
yum-3.4.3-26.fc17

Additional info:
libreport version: 2.0.14
abrt_version:   2.0.10
cmdline:        /usr/bin/python /bin/yum update
kernel:         3.4.3-1.fc17.i686.PAE

backtrace:
:rpmsack.py:1112:_put_cached_simpleVersion_main:OSError: [Errno 2] No such file or directory
:
: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 300, in populateSack
:    self.doSetup()
:  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 105, in doSetup
:    self.ayum.plugins.run('prereposetup')
:  File "/usr/lib/python2.7/site-packages/yum/plugins.py", line 187, in run
:    func(conduitcls(self, self.base, conf, **kwargs))
:  File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 107, in prereposetup_hook
:    rpmdbv = yb.rpmdb.simpleVersion(main_only=True)[0]
:  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1163, in simpleVersion
:    self._put_cached_simpleVersion_main(main)
:  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1112, in _put_cached_simpleVersion_main
:    os.rename(rpmdbvfname + ".tmp", rpmdbvfname)
:OSError: [Errno 2] No such file or directory
:
:Local variables in innermost frame:
:self: <yum.rpmsack.RPMDBPackageSack object at 0x8bdfacc>
:rpmdbv: <yum.packageSack.PackageSackVersion instance at 0x8dbd0ac>
:_cached_rpmdb_mtime: 1340270299.849945
:rpmdbvfname: '//var/lib/yum/rpmdb-indexes/version'
:rpmdbfname: '//var/lib/rpm/Packages'
:fo: <closed file '//var/lib/yum/rpmdb-indexes/version.tmp', mode 'w' at 0x8d02ee8>

Comment 1 Fedora End Of Life 2013-07-04 02:21:14 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. 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 '17'.

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 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 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 17'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 2 Fedora End Of Life 2013-08-01 08:08:44 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 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.

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