Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux システムで RPM データベースを再構築するにはどうすればよいですか?

Solution Verified - Updated -

Issue

  • RPM が正しく動作していないため、更新を適用できません。
  • RPM データベースを再構築するにはどうすればよいですか?
  • rpm コマンドを実行するとセグフォールトが発生するのはなぜですか?
  • yum update が rpmdb エラーで失敗します。
  • damaged header instances エラーが発生します。
  • rpm コマンドが終了し、"cannot open Packages database in /var/lib/rpm" というメッセージが表示されます。
  • rpm や yum が rpmdb: Lock table is out of available locker entries で終了するのはなぜですか?
  • いくつかのパッケージに対して rpm -q を実行しようとしましたが、次のようなエラーが発生しました。
rpmdb: /var/lib/rpm/Packages: unexpected file type or format  
error: cannot open Packages index using db3 - Invalid argument (22)
  • rpm のクエリーまたはインストールを実行すると、次のエラーが発生して失敗します。
error: rpmdbNextIterator: skipping h#    1601 Header V4 RSA/SHA1 signature: BAD, key ID 2874ffbe
  • rpm -qa コマンドでインストールされているパッケージが表示されないのはなぜですか?
  • rpm コマンドがハングします。
  • rpm データベースが破損しました。

Environment

  • Red Hat Enterprise Linux (RHEL) - すべてのバージョン - すべてのアーキテクチャー

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content