AIX 和 rpm 问题

AIX 和 rpm 问题

今天在 Aix 7.1 上使用 yum

yum -y update

Dependencies Resolved

======================================================================================================================================
 Package                            Arch                     Version                           Repository                        Size
======================================================================================================================================
Updating:
 openldap                           ppc                      2.4.56-2                          AIX_Toolbox                      4.3 M
 p11-kit                            ppc                      0.23.16-2                         AIX_Toolbox                      4.3 M
 p11-kit-tools                      ppc                      0.23.16-2                         AIX_Toolbox                      199 k
 python                             ppc                      2.7.18-2                          AIX_Toolbox                       22 M

Transaction Summary
======================================================================================================================================
Upgrade       4 Packages

Total size: 30 M
Downloading Packages:
Running Transaction Check
ERROR with transaction check vs depsolve:
libcrypto.a(libcrypto.so.1.0.2) is needed by python-2.7.18-2.ppc
libssl.a(libssl.so.1.0.2) is needed by python-2.7.18-2.ppc
libcrypto.a(libcrypto.so.1.0.2) is needed by openldap-2.4.56-2.ppc
libssl.a(libssl.so.1.0.2) is needed by openldap-2.4.56-2.ppc
Please report this error in http://yum.baseurl.org/report
** Found 25 pre-existing rpmdb problem(s), 'yum check' output follows:
curl-7.74.0-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
curl-7.74.0-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
cyrus-sasl-2.1.26-3.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.0)
flrtvc-0.8.1-1.ppc has missing requires of /bin/ksh93
git-2.20.4-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
git-2.20.4-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
httpd-2.4.46-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
httpd-2.4.46-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
krb5-libs-1.18.3-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
krb5-libs-1.18.3-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
libssh2-1.9.0-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
mod_ssl-2.4.46-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
mod_ssl-2.4.46-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
openldap-2.4.56-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
openldap-2.4.56-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
python-2.7.18-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
python-2.7.18-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
python-pycurl-7.43.0-1.ppc has missing requires of libcrypto.a(libcrypto.so)
python3-3.7.9-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
python3-3.7.9-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
rsync-3.2.3-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
stunnel-5.56-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
stunnel-5.56-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
wget-1.20.3-1.ppc has missing requires of libcrypto.a(libcrypto.so.1.0.2)
wget-1.20.3-1.ppc has missing requires of libssl.a(libssl.so.1.0.2)
Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2021-05-25-13-054OMsxg.yumtx

我将存档复制到我的主目录并解压

cp /usr/lib/libssl.a .
ar x libssl.a

ls libssl.so*
libssl.so*  libssl.so.0.9.8*  libssl.so.1.0.0*  libssl.so.1.0.2*

该库存在,为什么rpm找不到它?

奇怪的是这个包可以工作,在另一个 aix(7.2) 上我有一个相同的问题,yum 无法更新系统,但是如果我使用

yumdownloader --resolve mypackage
rpm -Uvh --nodeps --force *rpm

软件包安装并运行良好。我尝试重建 rpm 的数据库但没有任何改变

答案1

RPM 数据库似乎与当前系统不同步;跑步updtvpkg来改善这种情况。

相关内容