I am trying to deal with keeping our RHEL 5 server patched up, but also dealing with our security constraints. This particular server is not allowed to talk to the Internet. So yum isn't really an option.
When we get RHN Alerts, I manually go to Red Hat's portal and view the available packages via Classic Management, and download the necessary RPM's to my workstation, then I FTP them onto the server. This all works well and fine, until a particular dependency is needed that's not included in the packages. For example...
root@myserver:~/rhn-packages $ rpm -Uvh *.rpm
error: Failed dependencies: libfontenc.so.1 is needed by libXfont-1.2.2-1.0.5.el5_10.i386
Searching in Red Hat's packages for libfontenc doesn't get me anywhere. How do I go about getting this dependency installed?
rpm
can only find the capabilities (i.e., shared libraries, perl modules, etc.) that a package provides or requires. You need an extra layer on top ofrpm
(e.g.,yum
) to match a package's dependenciess to other packages' provides. If you don't have a local copy of every package you could possibly want to install, you're not going to be able to do this without some kind of external resource.yum
use that as the repo?