在 yum 安装过程中,我们收到以下依赖项错误
Error: Package: openldap-2.4.40-8.el7.i686 (@local)
Requires: libplds4.so
Removing: nspr-4.10.8-2.el7_1.i686 (@local)
libplds4.so
Updated By: nspr-4.19.0-1.el7_5.x86_64 (/nspr-4.19.0-1.el7_5.x86_64)
Not found
Error: Package: openldap-2.4.40-8.el7.i686 (@local)
Requires: libnss3.so(NSS_3.11)
Removing: nss-3.19.1-18.el7.i686 (@local)
libnss3.so(NSS_3.11)
Updated By: nss-3.36.0-7.el7_5.x86_64 (/nss-3.36.0-7.el7_5.x86_64)
Not found
Error: Package: openldap-2.4.40-8.el7.i686 (@local)
Requires: libnss3.so(NSS_3.9.2)
Removing: nss-3.19.1-18.el7.i686 (@local)
libnss3.so(NSS_3.9.2)
Updated By: nss-3.36.0-7.el7_5.x86_64 (/nss-3.36.0-7.el7_5.x86_64)
Not found
我们看到需要:libplds4.so
我们如何找到由 - 代表的 rpm 要求:libnss3.so(NSS_3.11)
答案1
假设您有一个有效的存储库服务器,获取文件的 rpm 名称的最常见方法是
# yum whatprovides */libplds4.so