Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Red Hat Enterprise Linux 5 > Issue <<  136 of 361 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 10216
Last update: 03-21-07
Issue:
Why does my rpm command sometime hangs in Red Hat Enterprise Linux version 5 and what can I do to get around the problem?
Resolution:

Release found: Red Hat Enterprise Linux version 5

Resolution:

Sometimes the rpm command on Red Hat Enterprise Linux 5 hangs. This happens due to the stale locks left in the rpm database because of other processes. Red Hat is working towards fixing the problem. In the meantime the following could be used to get around the problem.

Run the command:

# rm /var/lib/rpm/__db.*

The above command removes any stale locks left on the rpm database. Any subsequent invocations of rpm should not hang again. Also, as far as the impact goes, there is no loss of data and the system is functional.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Red Hat Enterprise Linux 5 > Issue <<   136  of  361  >>