United States (change)
Shortcuts: Downloads Fedora Red Hat Network
Account Links: Cart Your Account Logout
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.