Bug 919828 - error: rpmdb open failed
Summary: error: rpmdb open failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:ef23bffd6e273be5edbaa0e2c92...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-10 10:20 UTC by Ray Evans
Modified: 2013-09-13 21:02 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-13 21:02:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (849.11 KB, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: anaconda.log (54.06 KB, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: environ (783 bytes, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: ifcfg.log (565 bytes, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: packaging.log (305.51 KB, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: program.log (98.93 KB, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: storage.log (198.31 KB, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details
File: syslog (123.95 KB, text/plain)
2013-03-10 10:21 UTC, Ray Evans
no flags Details

Description Ray Evans 2013-03-10 10:20:56 UTC
Description of problem:
Configured the options step by step for a KDE Plasma installation from the F18 x64 DVD.  The iso checksum passes.  The burned DVD passes the data check.   After selelections are made I pressed continue with installation, a warning dialog appears along the bottom of the screen in yellow, indicating that a root password has not been selected.  I begin to type the root password and this failure occurred.  This has been reproducible 2 for 2.
The following was filed automatically by anaconda:
anaconda 18.37.11 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/rpmUtils/transaction.py", line 58, in dbMatch
    mi = self.ts.dbMatch(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1210, in _get_packages
    mi = ts.dbMatch(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 269, in _get_pkglist
    for (hdr, mi) in self._get_packages():
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 507, in simplePkgList
    return self.pkglist
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 953, in _getGroups
    self._comps.compile(self.rpmdb.simplePkgList())
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1037, in <lambda>
    comps = property(fget=lambda self: self._getGroups(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3564, in selectGroup
    if not self.comps.has_group(grpid):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1070, in _selectYumGroup
    self._yum.selectGroup(groupid, group_package_types=pkg_types)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1177, in _applyYumSelections
    self._selectYumGroup("core")
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1229, in checkSoftwareSelection
    self._applyYumSelections()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1316, in preInstall
    self.checkSoftwareSelection()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 124, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups(ksdata.lang.lang))
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
error: rpmdb open failed

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.6.10-4.fc18.x86_64
other involved packages: 
package:        anaconda-18.37.11
product:        Fedora
release:        Cannot get release name.
type:           libreport
version:        18

Comment 1 Ray Evans 2013-03-10 10:21:01 UTC
Created attachment 707820 [details]
File: anaconda-tb

Comment 2 Ray Evans 2013-03-10 10:21:03 UTC
Created attachment 707821 [details]
File: anaconda.log

Comment 3 Ray Evans 2013-03-10 10:21:05 UTC
Created attachment 707822 [details]
File: environ

Comment 4 Ray Evans 2013-03-10 10:21:06 UTC
Created attachment 707823 [details]
File: ifcfg.log

Comment 5 Ray Evans 2013-03-10 10:21:08 UTC
Created attachment 707824 [details]
File: packaging.log

Comment 6 Ray Evans 2013-03-10 10:21:09 UTC
Created attachment 707825 [details]
File: program.log

Comment 7 Ray Evans 2013-03-10 10:21:11 UTC
Created attachment 707826 [details]
File: storage.log

Comment 8 Ray Evans 2013-03-10 10:21:12 UTC
Created attachment 707827 [details]
File: syslog

Comment 9 Chris Lumens 2013-03-11 21:28:17 UTC
This may be the crazy rpm chroot bug hitting us again.  Are you going into the root password spoke at the same time during each test?  What happens if you wait until package installation is complete, for instance?

Comment 10 Ray Evans 2013-03-12 00:15:19 UTC
Chris:
That did not seem to matter and I was pulling my hair out looking at everything and testing this over and over again.

The problem turned out to be that the /var from Fedora 17 was still populated and intact.  This was causing the crash, and never ever gave any indication of what the problem might be.   Once I went through the custom partition routine and set the /var to be formated, the install goes smoothly as expected.


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