Error in upgrading f32 to f33 - dnf Python issue?

Hi there i upgraded from CLI but after

sudo dnf system-upgrade reboot

my notebook started to upgrade i saw packages installing and after a while i found it at the login screen (probably didn’t finish) and when I login and open a terminal it says:
traceback (most recent call last):

  • File “/bin/register-python-argcomplete”, line 27, in *
  • import argcomplete*
    ModuleNotFoundError: No module named ‘argcomplete’
    flatpak: error while loading shared libraries: /lib64/ file too short

then when i try to run dnf:

[gianni@thinkpad-x61 ~]$ sudo dnf update
Traceback (most recent call last):

  • File “/usr/bin/dnf”, line 57, in *
  • from dnf.cli import main*
    ModuleNotFoundError: No module named ‘dnf’

the thing that scare me most is that rebooting i can’t find fedora 33 kernel
how do i car retry to upgrade from dnf ?


Fedora 33 upgrade - broken system after 35 hours

do you think is possible to launch an upgrade from a live USB?


It should be possible, but it may not be simple.
You can try to mount root and run something like this:

sudo mkdir -p /mnt/root
sudo mount /dev/mapper/fedora-root /mnt/root
sudo dnf --installroot=/mnt/root --releasever=33 distro-sync
1 Like

oh, in a terminal running the live distro USB ?
i’ll try after making another backup :slight_smile:


1 Like

It quite worked
my system was already Btrfs so i did

sudo mount /dev/sda3 /mnt
sudo dnf --installroot=/mnt/root --releasever=33 distro-sync

after that i rebooted but i had no Fedora 33 kernel in grub and i removed and reinstalled fedora 33 kernel

also some other libraries were to reinstall since probably they crashed in the first installation

my thinkpad now seems ok (it has some strange behaviour with network cards) with Fedora 33