Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

All you have to know about RPM

by Alexandre de Abreu

How can I get RPM back? The command "rpm -qa" returns nothing!

Sometimes the RPM database get broken and rpm command freezes or doesn't work as expected. Here's what can be done to solve this problem:

rm -f /var/lib/rpm/__* ; rpm -vv --rebuilddb

The extra verbose is for printing some status on screen, the database rebuild process can take a long depending on your machine and package iformation.