[SOLVED] automatically check for broken packages

Issues related to applications and software problems
Post Reply
armando110
Posts: 8
Joined: 2012/03/08 18:48:30

[SOLVED] automatically check for broken packages

Post by armando110 » 2012/04/26 07:57:54

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.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

[SOLVED] automatically check for broken packages

Post by pschaff » 2012/04/26 21:26:10

All I can suggest is
[code]yum reinstall \*[/code]

armando110
Posts: 8
Joined: 2012/03/08 18:48:30

Re: automatically check for broken packages

Post by armando110 » 2012/04/27 07:59:53

thanks for response. It worked.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: [SOLVED] automatically check for broken packages

Post by pschaff » 2012/04/27 20:49:52

You are welcome. Thanks for reporting back. Marking this thread [SOLVED] for posterity.

Post Reply