将 Fedora 34 更新到 35 时损坏 dnf

将 Fedora 34 更新到 35 时损坏 dnf

我正在使用 fedora 34。更新到 35 返回错误经过 google 搜索,问题被报告为损坏的 dnf。尝试解决问题但没有成功。错误消息:

Traceback (most recent call last):
  File "/usr/bin/dnf", line 57, in <module>
    from dnf.cli import main
  File "/usr/lib/python3.9/site-packages/dnf/__init__.py", line 30, in <module>
    import dnf.base
  File "/usr/lib/python3.9/site-packages/dnf/base.py", line 29, in <module>
    import libdnf.transaction
  File "/usr/lib64/python3.9/site-packages/libdnf/__init__.py", line 12, in <module>
    from . import conf
  File "/usr/lib64/python3.9/site-packages/libdnf/conf.py", line 13, in <module>
    from . import _conf
ImportError: /usr/lib64/python3.9/site-packages/libdnf/_conf.so: undefined symbol: _ZN6libdnf10ConfigRepo14failovermethodB5cxx11Ev

相关内容