Hi Everyone,
I attempted a dnf-system-upgrade on an old server (F40) to match the
new server (F41) I've been setting up for the migration. The
dnf-system-upgrade on the old server went sideways after step 3: `dnf
system-upgrade reboot`. On the old server, it appears the upgrade
partially happened. The machine boots, and I can login seated at the
chair; but networking is down and dnf is broken. I think most programs
are supplied by F40, but I may be mistaken.
Trying to run dnf results in similar to [1]:
Traceback (most recent call last):
File "/usr/bin/dnf", line 61, in <module>
from dnf.cli import main
ModuleNotFoundError: No module named 'dnf'
I'm trying to repair dnf using rpm.[2] I *think* `rpm --reinstall
python3-dnf*.rpm` may be able to repair dnf. But I'm not sure about
dnf vs dnf5:
# from a working F41 machine
$ dnf search '*dnf*'
...
python3-libdnf.x86_64: Python 3 bindings for the libdnf library.
python3-libdnf5.x86_64: Python 3 bindings for the libdnf library
So my question is, is the generic 'dnf' Ok, or should I try to install
specific 'dnf5' for Fedora 41? Or maybe something else?
(I'm about ready to tar up the important data files on the old server,
copy them to a USB stick, sneaker-net them over to the new server, and
destroy that old server like in [3]).
Thanks in advance.
[1] https://www.reddit.com/r/Fedora/comments/12blsg0/my_dnf_is_broken/
[2] https://www.reddit.com/r/Fedora/comments/12blsg0/comment/jf3qonz/?context=3
[3] https://www.youtube.com/watch?v=P1tihTYb1wk&t=20s
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue