Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 871340

Summary: RpmDBError: Package tuple ('rpm-build', 'x86_64', '0', '4.10.1', '3.el7') could not be found in rpmdb
Product: Red Hat Enterprise Linux 7 Reporter: Daniel Vrátil <dvratil>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WORKSFORME QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: jeischma, todoleza, whearn
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:0f0c4f5a526cb599e27be76e98ad2073dbfef57fd13ec364497f2a2a1738fb5a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-11 17:34:26 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:
Attachments:
Description Flags
File: anaconda-tb
none
File: product
none
File: type
none
File: storage.log
none
File: version
none
File: environ
none
File: executable
none
File: anaconda.log
none
File: syslog
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: release
none
File: program.log none

Description Daniel Vrátil 2012-10-30 09:41:51 UTC
Description of problem:
I selected "KDE Desktop" and some other groups in "Software Selection" tab. Then I went to prepare partitions while yum was resolving dependencies. After returning to the main hub, there was an error icon in the "Software Selection" button. I unchecked all groups except for "KDE Desktop" and clicked "Done". Few seconds after returning to the main hub, Anaconda crashed.

Version-Release number of selected component:
anaconda-18.21

Additional info:
libreport version: 2.0.17
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.0-0.28.el7.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.21 exception report
:Traceback (most recent call first):
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3874, in getInstalledPackageObject
:    raise Errors.RpmDBError, _('Package tuple %s could not be found in rpmdb') % str(pkgtup)
:  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1249, in _checkFileRequires
:    po = self.getInstalledPackageObject(pkgtup)
:  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 882, in resolveDeps
:    for po, dep in self._checkFileRequires():
:  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1125, in buildTransaction
:    (rescode, restring) = self.resolveDeps()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1121, in checkSoftwareSelection
:    (code, msgs) = self._yum.buildTransaction(unfinished_transactions_check=False)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 109, in checkSoftwareSelection
:    self.payload.checkSoftwareSelection()
:  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)
:RpmDBError: Package tuple ('rpm-build', 'x86_64', '0', '4.10.1', '3.el7') could not be found in rpmdb

Comment 1 Daniel Vrátil 2012-10-30 09:41:56 UTC
Created attachment 635444 [details]
File: anaconda-tb

Comment 2 Daniel Vrátil 2012-10-30 09:41:58 UTC
Created attachment 635445 [details]
File: product

Comment 3 Daniel Vrátil 2012-10-30 09:42:03 UTC
Created attachment 635446 [details]
File: type

Comment 4 Daniel Vrátil 2012-10-30 09:42:07 UTC
Created attachment 635447 [details]
File: storage.log

Comment 5 Daniel Vrátil 2012-10-30 09:42:09 UTC
Created attachment 635448 [details]
File: version

Comment 6 Daniel Vrátil 2012-10-30 09:42:11 UTC
Created attachment 635449 [details]
File: environ

Comment 7 Daniel Vrátil 2012-10-30 09:42:13 UTC
Created attachment 635450 [details]
File: executable

Comment 8 Daniel Vrátil 2012-10-30 09:42:16 UTC
Created attachment 635451 [details]
File: anaconda.log

Comment 9 Daniel Vrátil 2012-10-30 09:42:18 UTC
Created attachment 635452 [details]
File: syslog

Comment 10 Daniel Vrátil 2012-10-30 09:42:20 UTC
Created attachment 635453 [details]
File: hashmarkername

Comment 11 Daniel Vrátil 2012-10-30 09:42:22 UTC
Created attachment 635454 [details]
File: packaging.log

Comment 12 Daniel Vrátil 2012-10-30 09:42:25 UTC
Created attachment 635455 [details]
File: cmdline_file

Comment 13 Daniel Vrátil 2012-10-30 09:42:27 UTC
Created attachment 635456 [details]
File: release

Comment 14 Daniel Vrátil 2012-10-30 09:42:30 UTC
Created attachment 635457 [details]
File: program.log

Comment 15 Chris Lumens 2012-10-30 17:49:59 UTC
I've been trying without succeeding to reproduce this for a little while now.  Since it was reported, however, I've also committed a fix related to changing settings in the software spoke, so perhaps I have inadvertently fixed this bug.  Can you please retest with a tree containing anaconda-18.22 (not built yet, check back soon) and see if this is fixed for you?  Thanks.

Comment 17 Tomas Dolezal 2013-01-16 15:34:26 UTC
set up "random" package groups and then exited the Software selection. this bug appeared

Package: anaconda-18.16
OS Release: Red Hat Enterprise Linux release 7.0

Comment 18 Wesley Hearn 2013-05-26 03:29:21 UTC
Description of problem:
Tried installing the Development option(out of GNOME, KDE, Development). It failed, so I just selected GNOME, Platform development, development env, Productivity, and EMail/Chat packages on the right.

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

Additional info:
reporter:       libreport-2.1.4
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=RHEL\x20Workstation\x207.0 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.9.0-0.55.el7.x86_64
product:        Red Hat Enterprise Linux
release:        Red Hat Enterprise Linux Client release 7.0 Beta (Maipo)
type:           anaconda
version:        7.0

Truncated backtrace:
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/threading.py", line 766, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/software.py", line 101, in checkSoftwareSelection
    self.payload.checkSoftwareSelection()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1382, in checkSoftwareSelection
    (code, msgs) = self._yum.buildTransaction(unfinished_transactions_check=False)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1146, in buildTransaction
    (rescode, restring) = self.resolveDeps()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 886, in resolveDeps
    for po, dep in self._checkFileRequires():
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 1265, in _checkFileRequires
    po = self.getInstalledPackageObject(pkgtup)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3985, in getInstalledPackageObject
    raise Errors.RpmDBError, _('Package tuple %s could not be found in rpmdb') % str(pkgtup)
RpmDBError: Package tuple ('libguestfs', 'x86_64', '1', '1.21.33', '1.el7') could not be found in rpmdb

Comment 19 Dave Cantrell 2013-12-11 17:34:26 UTC
Please retest under RHEL 7.0 beta or later.  If the problem is still happening, feel free to reopen the bug.  If you do reopen the bug, be sure to include steps to reproduce the problem.

Comment 20 Red Hat Bugzilla 2023-09-14 01:38:15 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days