Until this morning I believe I was running 4.11.8.1. Then I did a daily upgrade “$zypper dup”. There were 1094 items waiting for upgrade so I left for lunch. When I came back it seemed finished but wifi was broken. I managed to connect to wifi again and was able to open web pages. But when I did “$zypper dup” again to make sure everything was upgraded it always gave me a connection time out error. Plus, files I was downloading earlier using uGet constantly gave me connection errors.
So I reboot, but to find out a totally different login screen, with the following errors:
The current theme cannot be loaded due to the errors below, please select another theme.
file:///usr/share/sddm/themes/breeze-openSUSE/Main.qml:25:1: plugin cannot be loaded for module “org.kde.plasma.core”: Cannot load library /usr/lib64/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so: (/usr/lib64/libQt5Core.so.5: version `Qt_5.9.1_PRIVATE_API’ not found (required by /usr/lib64/libKF5Declarative.so.5))
I tried to log in to both KDE Plasma Workspace and Plasma 5 but got very weird screen. It was a totally black screen with only two applications open, Firefox and bash. No icons, no system tray. Can’t right click, can’t find other applications.
I was able to log into IceWM and used wired connection. I ran “$zypper dup” again and seemed to update all packages. I even manually updated libQt5Core and libKF5Declarative but when I reboot I got the same error.
You obviously have too old (or too new?) Qt5 packages installed.
The KDE packages are built against 5.9.1 which isn’t there.
Run “zypper dup” again to fix the problem.
If you get an error about conflicts, post it for further help.
I noticed that now I was running 4.11.8.2
4.11.8.2 what?
The kernel?
That should be irrelevant here.
I was able to log into IceWM and used wired connection. I ran “$zypper dup” again and seemed to update all packages. I even manually updated libQt5Core and libKF5Declarative but when I reboot I got the same error.
Then please post your repo list.
zypper lr -d
Also, which version of the packages libKF5Declarative5 and libQt5Core5 do you have from where?
So I believe libQt5Core.so points to libQt5Core.so.5.9.1, which does not exist. All others point to libQt5Core.so.5.9.0.
I’ve confirmed that the newest version of libQt5Core5, 5.9.1, is already installed, but don’t know why 5.9.1 doesn’t exist here.
I’m not sure if I should force libQtCore.so to point to 5.9.0… In another hand, 5.9.1 is required by libKF5Declarative5, so I assume linking libQtCore.so to 5.9.0 will not solve the problem…
Seriously: I’m not expecting others to use this repo, so don’t rely on it. I use it mainly to avoid having to use to many other repos, except for unarj ( maybe one other ) they’re all just copies. Which might disappear if I don’t want them anymore. Which expresses the danger of using home:/ repos.
EDIT: Had a good laugh myself, warning against my own repo
No, it won’t help, and libQtCore.so is just a devel library anyway, only used if you compile stuff.
The problem is that the 5.9.1 libraries are missing, even though libQt5Core5-5.9.1 is installed. So apparently something went wrong when the update was installed.
I would just delete all those files and reinstall libQt5Core5, that should “fix” it.
sudo rm /usr/lib64/libQt5Core.so.*
sudo zypper in -f libQt5Core5
Thanks for the help. I forced to reinstall libQt5Core and this error went away. However, when I reboot, I still could not get to KDE and got another error message which was pretty similar to the previous one:
The current them cannot be loaded due to the errors below, please select another theme.
file:///usr/share/sddm/themes/breeze-openSUSE/Main.qml:88:22: Type Login unavailable.
file:///usr/share/sddm/themes/breeze-openSUSE/Login.qml:42:5: Type PlasmaComponents.TextField unavailable.
file:///usr/lib64/qt5/qml/org/kde/plasma/components/TextField.qml:24:1: module "QtQuick.Controls.Styles.Plasma" is not installed.
This time I’m not quite sure which package is missing. Seems like “QtQuick.Controls.Styles.Plasma” is not a package but a module and I don’t know how to reinstall it.
I thought Plasma was somehow corrupt so I reinstalled all plasma 5 packages by doing this
zypper in -f plasma5*
but still got the same error.
I even forced to install all Qt5 packages by doing
zypper in -f libqt5-*
but this did not help either.
So I think during the update that day the process was interrupted, and some files were corrupt but I could not tell which files were bad and which were good. Is there a way to uninstall Qt as a whole and reinstall it? This might be a stupid question, but even if I fix this error message there might be another one.