Problem: One or more CentOS packages are missing when doing an upgrade. (Example: customer has modified CentOS and now AMP can't find some library that it needs.)The error you get looks something like this:/root/svn/mercury/bin/rpmver: error while loading shared libraries:librpm-4.4.so: cannot open shared object file: No such file or directoryerror: Failed dependencies:libacl.so.1 is needed by vim-enhanced-7.0.109-3.el5.3.i386 ..Solution:Run the following command on the library in question to find out what package is missing:# rpm -q --whatprovides [LIBRARY]Example:# rpm -q --whatprovides librpm-4.4.sorpm-libs-4.4.2-37.el5Locate the package:# locate rpm-libs-4.4.2-37.el5Install the package:# rpm -Uvh /full/path/to/[package_name]Ex (for the rpm-libs-4.4.2-37.el5 package):# rpm -Uvh /root/svn/mercury/src/i386/rpms/rpm-libs-4.4.2-37.el5If you're still getting a dependency error, try using the --nodeps and/or --force options:# rpm -Uvh /root/svn/mercury/src/i386/rpms/rpm-libs-4.4.2-37.el5 --nodeps
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.