Bug 981436 - error: rpmdb open failed
Summary: error: rpmdb open failed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:38154339db125f1db5924e2c02b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-04 16:42 UTC by Bob Arendt
Modified: 2014-02-21 18:27 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-21 18:27:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (287.06 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: anaconda.log (7.93 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: environ (494 bytes, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: ks.cfg (3.39 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: lsblk_output (1.45 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: nmcli_dev_list (10.11 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: os_info (179 bytes, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: program.log (58.92 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: storage.log (74.30 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: syslog (113.91 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: ifcfg.log (392 bytes, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details
File: packaging.log (9.03 KB, text/plain)
2013-07-04 16:42 UTC, Bob Arendt
no flags Details

Description Bob Arendt 2013-07-04 16:42:15 UTC
Description of problem:
F19 install using netinstall.iso and a simple kickstart (same as used with F18 - changed 18 to 19).  Dies early accessing rpmdb?

Version-Release number of selected component:
anaconda-19.30.13-1

The following was filed automatically by anaconda:
anaconda 19.30.13-1 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 1296, in _get_packages
    mi = ts.dbMatch(*args, **kwds)
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1342, in _search
    for hdr, idx in mi:
  File "/usr/lib/python2.7/site-packages/yum/rpmsack.py", line 1277, in searchNames
    returnList.extend(self._search(name=name))
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3433, in _groupInstalledData
    ipkgs = self.rpmdb.searchNames([pkg_name])
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3790, in selectGroup
    igroup_data = self._groupInstalledData(thisgroup)
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1229, in _selectYumGroup
    self._yum.selectGroup(groupid, group_package_types=pkg_types)
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1336, in _applyYumSelections
    self._selectYumGroup("core")
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1410, in checkSoftwareSelection
    self._applyYumSelections()
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1497, in preInstall
    self.checkSoftwareSelection()
  File "/usr/lib/python2.7/site-packages/pyanaconda/install.py", line 159, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups())
  File "/usr/lib/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/pyanaconda/threads.py", line 168, 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:UUID=650d5b0e-4120-499c-a826-4375f6e721e7 ip=dhcp ipv6.disable=1 ipv6.disable_ipv6=1 xdriver=vesa nomodeset inst.stage2=hd:LABEL=LIVE ks=hd:LABEL=LIVE:/f19_lapEee.ks BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.i686
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        19

Comment 1 Bob Arendt 2013-07-04 16:42:20 UTC
Created attachment 768904 [details]
File: anaconda-tb

Comment 2 Bob Arendt 2013-07-04 16:42:23 UTC
Created attachment 768905 [details]
File: anaconda.log

Comment 3 Bob Arendt 2013-07-04 16:42:26 UTC
Created attachment 768906 [details]
File: environ

Comment 4 Bob Arendt 2013-07-04 16:42:30 UTC
Created attachment 768907 [details]
File: ks.cfg

Comment 5 Bob Arendt 2013-07-04 16:42:33 UTC
Created attachment 768908 [details]
File: lsblk_output

Comment 6 Bob Arendt 2013-07-04 16:42:37 UTC
Created attachment 768909 [details]
File: nmcli_dev_list

Comment 7 Bob Arendt 2013-07-04 16:42:41 UTC
Created attachment 768910 [details]
File: os_info

Comment 8 Bob Arendt 2013-07-04 16:42:44 UTC
Created attachment 768911 [details]
File: program.log

Comment 9 Bob Arendt 2013-07-04 16:42:47 UTC
Created attachment 768912 [details]
File: storage.log

Comment 10 Bob Arendt 2013-07-04 16:42:51 UTC
Created attachment 768913 [details]
File: syslog

Comment 11 Bob Arendt 2013-07-04 16:42:54 UTC
Created attachment 768914 [details]
File: ifcfg.log

Comment 12 Bob Arendt 2013-07-04 16:42:57 UTC
Created attachment 768915 [details]
File: packaging.log

Comment 13 gev000 2013-08-15 05:14:38 UTC
attempting to install fedora 19 on external drive with already existing partitions (from a fedora 15 installation). 
More than two hours wasted, maybe the 10th anaconda crash. Managed to get the partitions set, selected kde-workspaces to install and now I got this 
error.  THis is the network installer. It wasn't that hard in the past. Since fedora 18 it is really an exercise in patience.


cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
package:        anaconda-19.30.13-1
product:        Fedora
reason:         error: rpmdb open failed
release:        Cannot get release name.
version:        19

Comment 14 Kevin J. Cummings 2013-09-18 01:46:21 UTC
Problem occurred during F19 installation from DVD over old F14 system that did not properly update to F15.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2019\x20x86_64 rd.live.check quiet BOOT_IMAGE=vmlinuz 
hashmarkername: anaconda
kernel:         3.9.5-301.fc19.x86_64
package:        anaconda-19.30.13-1
product:        Fedora
reason:         error: rpmdb open failed
release:        Cannot get release name.
version:        19

Comment 15 David Shea 2014-02-21 18:27:55 UTC
clearpart --none
part /boot --size  8192 --fstype=ext4 --fsoptions="discard,noatime" --noformat --usepart=LABEL=boot
part /     --size  8192 --fstype=ext4 --fsoptions="discard,noatime" --noformat --usepart=LABEL=root



16:30:08,122 DEBUG kernel:[   97.691593] EXT4-fs (sda3): ext4_orphan_cleanup: deleting unreferenced inode 1465268
16:30:08,122 DEBUG kernel:[   97.691891] EXT4-fs (sda3): ext4_orphan_cleanup: deleting unreferenced inode 1450373
16:30:08,123 DEBUG kernel:[   97.693836] EXT4-fs (sda3): ext4_orphan_cleanup: deleting unreferenced inode 1712175
16:30:08,124 DEBUG kernel:[   97.694961] EXT4-fs (sda3): ext4_orphan_cleanup: deleting unreferenced inode 1712169
16:30:08,125 DEBUG kernel:[   97.695841] EXT4-fs (sda3): ext4_orphan_cleanup: deleting unreferenced inode 1712164
etc.

You are attempting to reuse a filesystem that appears to be damaged.


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