Cpupower-gui, bauh, virt-manager dont start anymore after todays (python) update.
virt-manager
Traceback (most recent call last):
File "/usr/bin/virt-manager", line 6, in <module>
from virtManager import virtmanager
File "/usr/share/virt-manager/virtManager/virtmanager.py", line 14, in <module>
gi.require_version("Gdk", "3.0")
^^^^^^^^^^^^^^^^^^
AttributeError: module 'gi' has no attribute 'require_version'
~
❯ cpupower-gui
Traceback (most recent call last):
File "/usr/bin/cpupower-gui", line 33, in <module>
from cpupower_gui.helper import (
File "/usr/share/cpupower-gui/cpupower_gui/helper.py", line 3, in <module>
import dbus
ModuleNotFoundError: No module named 'dbus'
~
❯ bauh
Traceback (most recent call last):
File "/usr/bin/bauh", line 5, in <module>
from bauh.app import main
File "/usr/lib/python3.12/site-packages/bauh/app.py", line 7, in <module>
import urllib3
ModuleNotFoundError: No module named 'urllib3'
Can also confirm today’s update broke something. I had to do a snapper roll back as Xorg seemed to be borked … I use cinnamon for my DE, would boot up into graphical, enter password, background would show then it would go black with cursor but nothing on the screen otherwise.
Of note, I did try switching to cinnamon software rendering which worked, so not sure if it was the python updates or GPU. I’ll wait a few days before updating again as usually these things do tend to work themselves out
I figured out how to fix this,
Make sure your pacman.conf has Extra and testing commented out, like this.
Navigate too >
/etc/pacman.conf
Inside the folder there is this area
cachyos repos
[cachyos-znver4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-core-znver4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos-extra-znver4]
Include = /etc/pacman.d/cachyos-v4-mirrorlist
[cachyos]
The testing repositories are disabled by default. To enable, uncomment the
repo name header and Include lines. You can add preferred servers immediately
after the header, and they will be used before the default mirrors.
Include = /etc/pacman.d/cachyos-mirrorlist
#[core-testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#Include = /etc/pacman.d/mirrorlist
[extra]
If you want to run 32 bit applications on your x86_64 system,
enable the multilib repositories as required here.
Include = /etc/pacman.d/mirrorlist
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
Then run sudo pacman -Syuu
the extra the Command -Syuu will downgrade your packages back to the core and non test versions, it seems like there was a test pushed on some reps, that broken a bunch of python things, this will prevent future bricking.