我正在升级AIX7.1中的内部包。使用db-6.2.32-1.aix6.1.ppc.rpm从AIX工具箱页面升级db包后,rpm命令不再工作。我检查过文件,它们存在于服务器上。我应该如何恢复rpm,因为我在www上找不到任何信息。错误消息如下所示。
# updtvpkg
Please wait...Could not load program /usr/opt/freeware/bin/rpm:
Dependent module libdb.so could not be loaded.
Could not load module libdb.so.
System error: No such file or directory
Could not load program /usr/opt/freeware/bin/rpm:
Dependent module libdb.so could not be loaded.
Could not load module libdb.so.
System error: No such file or directory
Could not load program /usr/opt/freeware/bin/rpm:
Dependent module libdb.so could not be loaded.
Could not load module libdb.so.
System error: No such file or directory
Could not load program /usr/bin/rpmbuild:
Dependent module libdb.so could not be loaded.
Could not load module libdb.so.
System error: No such file or directory
# rpm version
Could not load program /usr/opt/freeware/bin/rpm:
Dependent module libdb.so could not be loaded.
Could not load module libdb.so.
System error: No such file or directory
exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
0509-150 Dependent module libdb.so could not be loaded.
0509-022 Cannot load module libdb.so.
0509-026 System error: A file or directory in the path name does not exist.发布于 2019-08-14 12:39:46
由于缺少的libdb.so文件是由rpm包提供的,所以需要重新安装rpm。您需要将OVERWRITE same or newer versions切换到yes,因为包已经安装,但是缺少文件(S)。
https://unix.stackexchange.com/questions/535505
复制相似问题