Fedora 34 to rawhide. System-upgrade is ok! Problem with update and Python3.9
by hlopesrecife from LinuxQuestions.org on (#5JTT0)
After system-upgrade (34 to rawhide) the fedora start ok, but it is the problem:
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 32, in <module>
from dnf.comps import CompsQuery
File "/usr/lib/python3.9/site-packages/dnf/comps.py", line 27, in <module>
from dnf.exceptions import CompsError
File "/usr/lib/python3.9/site-packages/dnf/exceptions.py", line 22, in <module>
import dnf.util
File "/usr/lib/python3.9/site-packages/dnf/util.py", line 29, in <module>
import dnf.callback
File "/usr/lib/python3.9/site-packages/dnf/callback.py", line 22, in <module>
import dnf.yum.rpmtrans
File "/usr/lib/python3.9/site-packages/dnf/yum/rpmtrans.py", line 26, in <module>
import rpm
File "/usr/lib64/python3.9/site-packages/rpm/__init__.py", line 38, in <module>
from rpm._rpm import *
ImportError: /usr/lib64/python3.9/site-packages/rpm/_rpm.cpython-39-x86_64-linux-gnu.so: undefined symbol: rpmteUserdata
I do not dnf update or install packages.
Some idea?
Thanks,
Hugo Lopes
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 32, in <module>
from dnf.comps import CompsQuery
File "/usr/lib/python3.9/site-packages/dnf/comps.py", line 27, in <module>
from dnf.exceptions import CompsError
File "/usr/lib/python3.9/site-packages/dnf/exceptions.py", line 22, in <module>
import dnf.util
File "/usr/lib/python3.9/site-packages/dnf/util.py", line 29, in <module>
import dnf.callback
File "/usr/lib/python3.9/site-packages/dnf/callback.py", line 22, in <module>
import dnf.yum.rpmtrans
File "/usr/lib/python3.9/site-packages/dnf/yum/rpmtrans.py", line 26, in <module>
import rpm
File "/usr/lib64/python3.9/site-packages/rpm/__init__.py", line 38, in <module>
from rpm._rpm import *
ImportError: /usr/lib64/python3.9/site-packages/rpm/_rpm.cpython-39-x86_64-linux-gnu.so: undefined symbol: rpmteUserdata
I do not dnf update or install packages.
Some idea?
Thanks,
Hugo Lopes