error: rpmdbNextIterator

This document (7003499) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 10 Service Pack 1

Situation

error: rpmdbNextIterator: skipping h# 881 blob size(21356): BAD


This error occurred when trying to do a software update. The errors below popped up in a window as the yast2 software update window closed and disappeared. After setting ulimit -c unlimited we could see that yast2 was coring.


I believe this error can show up when trying to do a number of things in yast2.


error: rpmdbNextIterator: skipping h# 881 blob size(21356): BAD, 8 + 16 * il(0) + dl(0)

error: rpmdbNextIterator: skipping h# 913 blob size(13820): BAD, 8 + 16 * il(0) + dl(0)

error: rpmdbNextIterator: skipping h# 945 blob size(67712): BAD, 8 + 16 * il(0) + dl(0)

...

error: rpmdbNextIterator: skipping h# 5086 blob size(16084): BAD, 8 + 16 * il(0) + dl(0)

error: rpmdbNextIterator: skipping h# 5118 blob size(28752): BAD, 8 + 16 * il(0) + dl(0)

error: rpmdbNextIterator: skipping h# 5135 blob size(4740): BAD, 8 + 16 * il(0) + dl(0)


Ultimately ending up in a Segmentation fault.


The cause of the problem was corrupted rpm database.

Resolution

The rpm database was fixed with the following command:


rpmdb - - rebuilddb


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7003499
  • Creation Date: 10-Jun-2009
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center