Rebuild all currently installed RPMs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi there,

Does anyone know a quick way in yum or rpm to reinstall all currently installed rpm's - ie: Some files have been deleted but you don't know which ones.. So you just want to force a reinstall of all currently installed.

I have been using:

Rpm -Va | grep missing >> missing.log

And then more missing.log

Rpm -q -whatprovides /path/to/file

And then

Rpm -Uvh --force ftp://mirror/path/file

But it's a slow and painful process. It's on a CentOS 4.4 machine.

JC
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux