How to build your RPM database again?

Please refer the following steps:

 

[root@server1]# cd /var/lib/rpm/

 

[root@server1 rpm]# ll | grep db

-rw-r–r– 1 root root 2476 Sep 8 15:43 __db.002

-rw-r–r– 1 root root 13112 Sep 8 15:43 __db.003

-rw-r–r– 1 root root 45560 Sep 8 15:43 __db.004

 

[root@server 1rpm]# rm __db*

rm: remove regular file `__db.002′? y

rm: remove regular file `__db.003′? y

rm: remove regular file `__db.004′? y

 

[root@server rpm]# rpm –rebuilddb

 

This should build your RPM database again.

  • 1 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Relaterede artikler

Can I use my domain name or must I use my IP address as the hostname for FTP?

Using your IP address (192.168.22.22  is an example IP address) is the preferred entry for...

Can you transfer my sites from my current host to my new VPS?

Yes. We will transfer all of your sites free* of charge and will assure that you experience no or...

Do you allow MP3 files? Do you allow streaming of videos?

Yes we do with our special plans at http://hostripples.in/avs-hosting.php

Do you support Cold Fusion?

We do not support or Cold Fusion on our shared hosting servers, however you are more than welcome...