[root@localhost ~]# yum --version
Traceback (most recent call last):
File “/usr/bin/yum”, line 61, in
from dnf.cli import main
File “/usr/lib/python3.9/site-packages/dnf/init.py”, line 30, in
import dnf.base
File “/usr/lib/python3.9/site-packages/dnf/base.py”, line 29, in
import libdnf.transaction
File “/usr/lib64/python3.9/site-packages/libdnf/init.py”, line 8, in
from . import error
File “/usr/lib64/python3.9/site-packages/libdnf/error.py”, line 13, in
from . import _error
ImportError: /usr/lib64/librpmio.so.9: undefined symbol: ZSTD_CCtx_setParameter
昨天执行yum -y install htop 报错的 如下
Traceback (most recent call last):
File “/usr/bin/yum”, line 61, in
from dnf.cli import main
File “/usr/lib/python3.9/site-packages/dnf/init .py”, line 30, in
import dnf.base
File “/usr/lib/python3.9/site-packages/dnf/base.py”, line 29, in
import libdnf.transaction
File “/usr/lib64/python3.9/site-packages/libdnf/init .py”, line 8, in
from . import error
File “/usr/lib64/python3.9/site-packages/libdnf/error.py”, line 13, in
from . import _error
ImportError: /usr/lib64/librpmio.so.9: undefined symbol: ZSTD_CCtx_setParameter
懂你意思了,已替换验证 OK,多谢
[root@host-m ~]# yum --version
4.14.0
Installed: dnf-0:4.14.0-18.oe2203sp3.noarch at Mon 27 May 2024 09:39:14 AM GMT
Built : http://openeuler.org at Wed 17 Apr 2024 08:08:37 AM GMT
Installed: rpm-0:4.17.0-33.oe2203sp3.x86_64 at Mon 27 May 2024 09:39:06 AM GMT
Built : http://openeuler.org at Wed 28 Feb 2024 08:05:40 AM GMT