오늘 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
이 상황을 개선하기 위해.