@daver1730 I investigated this further and confirmed that the crash is caused by outdated Qt enum references in SoftwarePropertiesQt.py
The affected file contains three occurrences of: Qt.PartiallyChecked while the surrounding code already uses the Qt6-style enum syntax, e.g.: Qt.CheckState.Checked Qt.CheckState.Unchecked I locally replaced all three occurrences of: Qt.PartiallyChecked with: Qt.CheckState.PartiallyChecked using: sudo cp /usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py \ /usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py.bak sudo sed -i \ 's/Qt\.PartiallyChecked/Qt.CheckState.PartiallyChecked/g' \ /usr/lib/python3/dist-packages/softwareproperties/qt/SoftwarePropertiesQt.py The affected lines on my installation were 376, 388 and 408. After applying this change, `software-properties-qt` launches successfully again. I also restored my previously disabled/old repository source files afterwards, and the application continues to launch correctly. This suggests that the repository configuration can trigger the affected code path, but is not itself the underlying cause. Therefore this appears to be an incomplete Qt6/PyQt6 enum API migration in `SoftwarePropertiesQt.py`. Note: editing the installed Python file is only a local workaround and may be overwritten by a future package update. The corresponding change should be applied to the package source. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154196 Title: Software properties qt wont launch because of syntax errors in its code - Kubuntu 26.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2154196/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
