[CentOS] How to verify all dependencies are being met

Mon Apr 11 07:14:59 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

S.Tindall wrote:
> On Sun, 2011-04-10 at 21:00 -0400, Stephen Harris wrote:
>> On Mon, Apr 11, 2011 at 12:33:56AM +0200, Ljubomir Ljubojevic wrote:
>>>> Is there an easy way to determine what rpms might be missing?  I'd hoped
>>>> to use something like "rpm -qR" against each of the installed packages,
>>>> but that output isn't simply converted to rpm package names.
>>> Try something like this:
>>>
>>> yum reinstall $(yum list installed | awk '{print $1}')
>> Hmm, interesting idea.  Not too efficient, and could possibly break
>> config files if the rpm isn't well formed.  But, hmm... interesting.
>>
>> This led me to "yum deplist"... which sounds like it might also be
>> usable.  Not quite clean-cut but a definite possibility!
>>
> 
> Install yum-utils and then try:
> 
>  # package-cleanup --problems
> 
> 
>>From the package-cleanup manpage:
> 
>  --problems
> 
>   List dependency problems in the local RPM database.
> 
> Steve
> 

I will have to remember this. I never ever had any problems with 
yum/packages so I forgot all about yum-utils.

Thanks,
Ljubomir