Partial dnf-system-upgrade and broken dnf?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux