Re: Rebuild all currently installed RPMs?

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




rpm -qa | while read p ; do yum <whatever> $p ; done
rpm -qa | xargs yum <whatever>

Replace <whatever> with whatever it takes to force yum to reinstall.

Once you get it started, go have a good long nap:-)

It probably wont work, because there's a ton of *-devel packages that need to be installed when rebuilding, which are probably not on the system right now.

If you always have your user home dirs on a seperate partition/disk, it's no big deal to reinstall. Just make sure you don't accidentally overwrite the user disk :-)

-- Morten

_______________________________________________
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