Our company uses home brewed repositories and a system to configure them, which is conveniently not working at the moment. This is causing a problem for me since I can't add repositories, and therefore can't install software on this RHEL 5 box.
I can log in to red hat and download packages, but I can't find a listing of everything included in the package group when you run "yum install httpd." Can anyone provide a list of those packages? I'd appreciate it.
Doesn't RPM just flat out tell you what you're missing when you try to install the package? eg:
rpm -ivh httpd-whatever.rpm
How about this for the actual packages:
# for LINE in $(rpm -qR httpd);do rpm -q --whatprovides $LINE; done | sort | uniq | grep -v "no package provides"
This is for
httpd-2.2.3-76.0.1.el5_9
EDIT: The following answer is wrong, but kept for posterity. Learn from my shame and failure.
Give the following command a go:
yum deplist httpd
(This requires a repository to be accessible to determine dependencies, so is useless in this scenario where repos are not available.)You may find it easier to use pkgs.org for dependency resolution.
It's especially handy when you don't have access to the system or the system is somehow broken.
Here's the dependencies for httpd in RHEL5:
http://pkgs.org/centos-5-rhel-5/centos-rhel-x86_64/httpd-2.2.3-74.el5.centos.x86_64.rpm.html