Page 1 of 1

[SOLVED] automatically check for broken packages

Posted: 2012/04/26 07:57:54
by armando110
For some reason I have ended up with so many packages deleted/broken. I managed to rebuild yum repositories. Still there are lots of packages that need to be reinstalled. I do understand that I can check packages with

[code]rpm -Va[/code]

However, this gives me too many information that I can not manually handle and remove/install the broken packages again. I was wondering whether there is an automatic way to somehow reinstall deleted packages from base CentOs installation.

Thanks in advance.

[SOLVED] automatically check for broken packages

Posted: 2012/04/26 21:26:10
by pschaff
All I can suggest is
[code]yum reinstall \*[/code]

Re: automatically check for broken packages

Posted: 2012/04/27 07:59:53
by armando110
thanks for response. It worked.

Re: [SOLVED] automatically check for broken packages

Posted: 2012/04/27 20:49:52
by pschaff
You are welcome. Thanks for reporting back. Marking this thread [SOLVED] for posterity.