/usr/libexec/pk-command-not-foun

2020-08-04  本文已影响0人  wyude

error: Failed to initialize NSS library
error: Failed to initialize NSS library
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
cannot import name ts
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Apr 2 2020, 13:16:51)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
If you cannot solve this problem yourself, please go to
the yum faq at:

/usr/libexec/pk-command-not-found: error while loading shared libraries: /lib64/libsqlite3.so.0: file too short

$ ls -lZ /usr/lib64/libsqlite3.so.0*
lrwxrwxrwx root root system_u:object_r:lib_t /usr/lib64/libsqlite3.so.0 -> libsqlite3.so.0.8.6
-rwxr-xr-x root root system_u:object_r:lib_t /usr/lib64/libsqlite3.so.0.8.6
# ls -lZ /usr/lib64/libsqlite3.so.0*
-rwxr-xr-x root root /usr/lib64/libsqlite3.so.0
-rwxr-xr-x root root /usr/lib64/libsqlite3.so.0.8.6

对比发现缺少link

cd /usr/lib64
rm -f libsqlite3.so.0
ln -s libsqlite3.so.0.8.6 libsqlite3.so.0

然后就好了

上一篇 下一篇

猜你喜欢

热点阅读