| Summary: | misc.stat_f doesn't ignore ENOTDIR ... reading attributes for packages with no yumdb entries == fail | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tom Weniger <trweniger> | ||||
| Component: | yum | Assignee: | Fedora Packaging Toolset Team <packaging-team> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 15 | CC: | ffesti, james.antill, jonathan, maxamillion, pmatilai, tla, vanmeeuwen+fedora | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | anaconda_trace_hash:07c06bb655901b4def8def3091bfa236917d39242cc5405c6931bc2973181d3a | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-08-07 17:57:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Created attachment 500720 [details]
Attached traceback automatically from anaconda.
How reproducible is this? I'm mainly curious how you hit it, but I don't have 666 BZs :). (In reply to comment #2) > How reproducible is this? I'm mainly curious how you hit it, but I don't have > 666 BZs :). I was trying to preupgrade my laptop (HP dv6405ca) when I ran into this bug. The first time occurred when I performed #yum install preupgrade. The second time I saw the bug is when I tried to perform an upgrade from the DVD. Ok, I guess you just have a few packages without any yumdb data ... and that's pretty uncommon now. You can run: yumdb sync ...to try and fill in the yumdb with known data. This may not be enough though, so worst case you can do: yumdb set hack abcd '*' This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. 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 '15' 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 15 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 |
The following was filed automatically by anaconda: anaconda 15.31 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/yum/misc.py", line 943, in stat_f return os.stat(filename) File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1780, in _read info = misc.stat_f(fn) File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1863, in get res = self._read(attr) File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 765, in __init__ po.yumdb_info.get('from_repo') File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 532, in addObsoleted txmbr = TransactionMember(po) File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3582, in update self.tsInfo.addObsoleted(installed_pkg, obsoleting_pkg) File "/usr/lib64/python2.7/site-packages/pyanaconda/yuminstall.py", line 1482, in doPostSelection self.ayum.update() File "/usr/lib64/python2.7/site-packages/pyanaconda/backend.py", line 199, in doPostSelection return anaconda.backend.doPostSelection(anaconda) File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 211, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib64/python2.7/site-packages/pyanaconda/dispatch.py", line 130, in gotoNext self.moveStep() File "/usr/lib64/python2.7/site-packages/pyanaconda/gui.py", line 1257, in nextClicked self.anaconda.dispatch.gotoNext() OSError: [Errno 20] Not a directory: '/mnt/sysimage/var/lib/yum/yumdb/g/96759bc254e621695f3fb26b553b371db12abff8-gdm-user-switch-applet-2.32.1-2.fc14-x86_64/from_repo'