Bug 719690 - a crash of yum because of lost connection to the yumdb directory (ENOTDIR)
Summary: a crash of yum because of lost connection to the yumdb directory (ENOTDIR)
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 14
Hardware: i386
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-07 16:50 UTC by melchiaros
Modified: 2014-01-21 23:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 15:50:51 UTC
Type: ---


Attachments (Terms of Use)

Description melchiaros 2011-07-07 16:50:09 UTC
Description of problem:
fedora reports a crash of yum:

Error Type: <type 'exceptions.OSError'>
Error Value: [Errno 20] Ist kein Verzeichnis: '/var/lib/yum/yumdb/r/398c8768342d35d9f4a74473d63bc87ff97558c1-rcssmonitor-15.0.0-1.fc14-i686/from_repo'
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3612, in <module>
    main()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3609, in main
    backend.dispatcher(sys.argv[1:])
  File : /usr/lib/python2.7/site-packages/packagekit/backend.py, line 759, in dispatcher
    self.dispatch_command(args[0], args[1:])
  File : /usr/lib/python2.7/site-packages/packagekit/backend.py, line 679, in dispatch_command
    self.search_details(filters, values)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 494, in search_details
    self._do_search(searchlist, filters, values)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 440, in _do_search
    self._show_package_list(package_list)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 444, in _show_package_list
    self._show_package(pkg, status)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2656, in _show_package
    package_id = self._pkg_to_id(pkg)
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2648, in _pkg_to_id
    repo_tmp = pkg.yumdb_info.get('from_repo')
  File : /usr/lib/python2.7/site-packages/yum/rpmsack.py, line 1702, in get
    res = self._read(attr)
  File : /usr/lib/python2.7/site-packages/yum/rpmsack.py, line 1619, in _read
    info = misc.stat_f(fn)
  File : /usr/lib/python2.7/site-packages/yum/misc.py, line 907, in stat_f
    return os.stat(filename)


Version-Release number of selected component (if applicable):
I´ve updated from the update repro at 7.7.2011, so the actual version are given.

How reproducible:


Steps to Reproduce:
1.Run fedora14 for a while
2.have luck
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 James Antill 2011-07-08 18:50:32 UTC
 This has probably happened due to a crash or something, as that directory should always exist. You should be able to work around it by doing:

yumdb sync

...as root.

Comment 2 Fedora End Of Life 2012-08-16 15:50:56 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached 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 to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.