System upgrade seemed to crash KDE

Need help!

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))

Screenshot is here: http://paste.opensuse.org/30983216.

I noticed that now I was running 4.11.8.2.

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.

Any help would be greatly appreciated.

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?

rpm -qi libKF5Declarative5 libQt5Core5

Run “zypper dup” again to fix the problem.
If you get an error about conflicts, post it for further help.

I did run “zypper dup” again and had no errors. But when I reboot I got the same result.

Then please post your repo list.

zypper lr -d

Here’s the list:


#  | Alias                               | Name                        | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                    | Service
---+-------------------------------------+-----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------------------+--------
 1 | http-download.opensuse.org-2b765287 | openSUSE:Tumbleweed         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Tumbleweed/standard/               |        
 2 | http-download.opensuse.org-6d13ec47 | home:Knurpht:Extras         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Knurpht:/Extras/openSUSE_Tumbleweed/   |        
 3 | http-download.opensuse.org-8810f3c3 | home:adra                   | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/adra/openSUSE_Tumbleweed/              |        
 4 | http-download.opensuse.org-9a5da9d0 | home:bosim:suse-prime       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/bosim:/suse-prime/openSUSE_Tumbleweed/ |        
 5 | mozilla                             | mozilla                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_Tumbleweed/                 |        
 6 | openSUSE-20170626-0                 | openSUSE-20170626-0         | No      | ----      | ----    |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-Netac_OnlyDisk_TT00000000001061-0:0-part2            |        
 7 | packman                             | packman                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/                    |        
 8 | repo-debug                          | openSUSE-Tumbleweed-Debug   | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/debug/tumbleweed/repo/oss/                                |        
 9 | repo-non-oss                        | openSUSE-Tumbleweed-Non-Oss | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/                                  |        
10 | repo-oss                            | openSUSE-Tumbleweed-Oss     | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/                                      |        
11 | repo-source                         | openSUSE-Tumbleweed-Source  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/source/tumbleweed/repo/oss/                               |        
12 | repo-update                         | openSUSE-Tumbleweed-Update  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/ 

Also, which version of the packages libKF5Declarative5 and libQt5Core5 do you have from where?

rpm -qi libKF5Declarative5 libQt5Core5

libKF5Declarative5:


Name        : libKF5Declarative5
Version     : 5.36.0
Release     : 1.1
Architecture: x86_64
Install Date: Sat 22 Jul 2017 12:12:21 AM EDT
Group       : System/GUI/KDE
Size        : 119376
License     : LGPL-2.1+
Signature   : RSA/SHA256, Mon 17 Jul 2017 08:07:51 PM EDT, Key ID b88b2fd43dbdc284
Source RPM  : kdeclarative-5.36.0-1.1.src.rpm
Build Date  : Wed 12 Jul 2017 08:00:00 AM EDT
Build Host  : build81
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.kde.org
Summary     : Integration of QML and KDE workspaces

libQt5Core5:


Name        : libQt5Core5
Version     : 5.9.1
Release     : 1.1
Architecture: x86_64
Install Date: Mon 10 Jul 2017 12:01:12 AM EDT
Group       : Development/Libraries/X11
Size        : 5730947
License     : GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
Signature   : RSA/SHA256, Sat 08 Jul 2017 07:17:34 AM EDT, Key ID b88b2fd43dbdc284
Source RPM  : libqt5-qtbase-5.9.1-1.1.src.rpm
Build Date  : Wed 05 Jul 2017 08:00:00 AM EDT
Build Host  : lamb27
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://www.qt.io
Summary     : Qt 5 Core Library

Thanks for the help!

Also, which version of the packages libKF5Declarative5 and libQt5Core5 do you have from where?

Hello,

Under my /usr/lib64, I found this:


ls -l | grep libQt5Core
-rw-r--r-- 1 root root      1113 Jul  8 07:12 libQt5Core.prl
lrwxrwxrwx 1 root root        19 Jul  8 07:11 libQt5Core.so -> libQt5Core.so.5.9.1
lrwxrwxrwx 1 root root        19 Jun 29 13:41 libQt5Core.so.5 -> libQt5Core.so.5.9.0
lrwxrwxrwx 1 root root        19 Jun 29 13:41 libQt5Core.so.5.9 -> libQt5Core.so.5.9.0
-rwxr-xr-x 1 root root   5499256 Jun 29 13:41 libQt5Core.so.5.9.0

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…

Please advise. Thanks.

What are you using this repo for ?


2 | http-download.opensuse.org-6d13ec47 | home:Knurpht:Extras         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/home:/Knurpht:/Extras/openSUSE_Tumbleweed/   |        

:smiley: ?

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 :smiley:

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.

Thank you again for your time helping me.

It’s the package plasma-framework-components.

My recommendation is to remove all repos except default TW repos and do:
zypper dup --allow-vendor-change

This won’t help here.
It is not a repo problem, or a mixture of packages.

Files are missing/corrupted, “zypper dup” won’t reinstall the affected packages unless they were updated meanwhile…