Inspect dependencies requested by httpd and packages that provide them.
Do not merely search the description for the word httpd.
Which command is appropriate?
yum deplist PACKAGE lists dependencies and candidate providers in YUM 3. Some compatible implementations use repoquery instead.
Detailed explanation
yum search httpdIncorrect. search finds names and descriptions but does not expand dependencies.
yum info httpdIncorrect. info shows general metadata rather than a provider list for each dependency.
yum deplist httpdCorrect. yum deplist httpd lists dependency requirements and providers.
yum repolist httpdIncorrect. repolist lists repositories.
Try it yourself
An example you can run in a temporary verification environment.
yum deplist httpd | sed -n '1,20p'Expected result
dependencyとproviderの組が表示される(実装によりrepoqueryを使用)Key points
- deplist lists dependencies
- Providers are shown
- Implementation versions can differ
Notes
- Environment: YUM 3.x。DNF互換YUMでは提供サブコマンドを確認
- Use a disposable system or transaction preview before package changes.
- YUM compatibility layers can expose different subcommands across distributions.
Foundation review
Place the operation
Requires-to-Provides mapping explains how a dependency can be satisfied.
Check the side effect
Compare a dependency query with the general package information output.