Translate

Wednesday 4 June 2014

Checking an RPM's Dependecies without installing

AIX still has no YUM environment which makes installing and maintaining RPMs much more difficult and time consuming. Every RPM has a complex list of prereqs which can make installation a long and drawn-out game of trial and error. Fortunately you can query an RPM file without actually trying to install it.

This example shows the packages, executables, and libraries that Kerberos Workstation requires:

# rpm -qpR ./krb5-workstation-1.9.4-1.aix5.1.ppc.rpm
krb5-libs = 1.9.4-1
/sbin/install-info
info
/bin/sh
/bin/sh
libc.a(shr.o)
libcom_err.so
libgssapi_krb5.so
libgssrpc.so
libk5crypto.so
libkadm5clnt_mit.so
libkadm5srv_mit.so
libkdb5.so
libkrb5.so
libkrb5support.so
libpthreads.a(shr_comm.o)
libpthreads.a(shr_xpg5.o)
librtl.a(shr.o)

No comments:

Post a Comment