This one saved my a** today :

When you encounter something like this :

#rpm -ivh python-2.7.10-1.aix6.1.ppc.rpm

error: failed dependencies:

libcrypto.a(libcrypto.so) is needed by python-2.7.10-1

libssl.a(libssl.so) is needed by python-2.7.10-1

But you already have your libcrypto files in the right place (/usr/lib or /opt/freeware/lib for example), your LIBPATH checked, what can you do ?

Well , you’ll have to update the RPM database with this and then retry :


# updtvpkg

Please wait...

#rpm -ivh python-2.7.10-1.aix6.1.ppc.rpm

python                      ##################################################

It works fine now !

 

And this is why , as explained here : http://aixhealthcheck.com/blog?id=305

AIX-rpm is a « virtual » package which reflects what has been installed on the system by installp. It is created by the /usr/sbin/updtvpkg script when the rpm.rte is installed, and can be run anytime the administrator chooses (usually after installing something with installp that is required to satisfy some dependency by an RPM package).

Since AIX-rpm has to have some sort of version number, it simply reflects the level of bos.rte on the system where /usr/sbin/updtvpkg is being run. It’s just informational – nothing should be checking the level of AIX-rpm.

AIX doesn’t just automatically run /usr/sbin/updtvpkg every time that something gets installed or deinstalled because on some slower systems with lots of software installed, /usr/sbin/updtvpkg can take a LONG time.

Share Button
rpm dependency problem : you need to update the AIX RPM database
Taggé sur :

Laisser un commentaire