Re: How to verify all dependencies are being met

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



On Sunday 10 April 2011 17:51, Stephen Harris wrote:

> I've taken over a CentOS machine.  The previous SA had a habit of
> using the --nodeps flag to rpm to remove packages (he was trying to
> build a small server and removed packages he felt weren't needed).  I
> have a horrible feeling that this has resulted in some required
> dependencies no longer being met.  The server kinda-works, but it may
> break in unexpected ways;  I don't like being surprised!
>
> 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.

Does "package-cleanup --problems" do what you want? It's in the 
yum-utils package.

    --problems: List dependency problems in the local RPM database.

-- 
Yves Bellefeuille <yan@xxxxxxxx>
"La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se
ili konscias pri sia eraro." -- Heroldo Komunikas, n-ro 473.
_______________________________________________
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