[CentOS] How to verify all dependencies are being met
Yves Bellefeuille
yan at storm.ca
Mon Apr 11 01:46:48 UTC 2011
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 at storm.ca>
"La Esperanta Civito ne rifuzas anticipe la kunlaboron de erarintoj, se
ili konscias pri sia eraro." -- Heroldo Komunikas, n-ro 473.
More information about the CentOS
mailing list