KDE Plasma not working after latest update (May 19th 2021)

Yesterday I updated my system to the latest relaese
sudo pacman -Syu
After the update, I tried to open up my krunner but it did not work. I tried opening up my plasma start menu but that did not work either. At first I thought maybe all my shortcuts got messed up or my super key doesnt work. I actually use KDE as a tiling window manager - super key and arrow keys to move windows around instead of dragging and dropping windows. After I used this shortcut to move my terminal to the upper left, I realized it is not an issue with my shortcuts and tried opening up krunner from the terminal - as expected it did not open up. This is what the command returned:

krunner: symbol lookup error: /usr/lib/libKF5PlasmaQuick.so.5: undefined symbol: _ZN14KWindowEffects11slideWind
owEP7QWindowNS_17SlideFromLocationEi

Infact that is what I get when trying to open up my System Settings with systemsettings5 &. I also had an issue with my second display this morning - I couldnt get an output even though I have selected the nvidia driver. I solved this by downgrading the nvidia driver to the previous version and now it works fine - display shows up in xrandr and I am getting an output on the right.

So far I tried to refresh my repository list. I usually stick to ones which are in Western Europe, but this time I added a few Russian and Chinese repos in the mix. I ran -Syyuu again, it did make a change (downloaded different versions of packages) but it did not fix my issue.

Try

sudo pacman -Syu plasma-desktop

I tried, it doesnt fix my issue.
Output:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: plasma-desktop-5.21.5-1 is up to date -- reinstalling
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) plasma-desktop-5.21.5-1

Total Installed Size:  32.48 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                     [#####################################] 100%
(1/1) checking package integrity                                   [#####################################] 100%
(1/1) loading package files                                        [#####################################] 100%
(1/1) checking for file conflicts                                  [#####################################] 100%
(1/1) checking available disk space                                [#####################################] 100%
:: Processing package changes...
(1/1) reinstalling plasma-desktop                                  [#####################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Reloading system bus configuration...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...

try to reinstall one package: sudo pacman -S kwindowsystem

I am getting conflicting dependencies error:

resolving dependencies...
looking for conflicting packages...
:: kwindowsystem and kwindowsystem-git are in conflict. Remove kwindowsystem-git? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kwindowsystem-git breaks dependency 'kwindowsystem-git' required by kcrash-git
:: removing kwindowsystem-git breaks dependency 'kwindowsystem-git' required by knotifications-git

Should I try to force the install? Ive had bad experiences with --asdeps on arch.

double-check that you don’t have a mixed setup of old KDE-git packages. Double-Check your installed packages and replace them with the normal packages:

pacman -Qq | grep git

1 Like

I have quite a few KDE git packages. When I tried removing them all, I got this output:

checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kio-git breaks dependency 'kio' required by baloo
:: removing kwayland-git breaks dependency 'kwayland' required by breeze
:: removing kcmutils-git breaks dependency 'kcmutils' required by dolphin
:: removing kcoreaddons-git breaks dependency 'kcoreaddons' required by kactivities
:: removing kconfig-git breaks dependency 'kconfig' required by kactivities
:: removing kwindowsystem-git breaks dependency 'kwindowsystem' required by kactivities
:: removing kio-git breaks dependency 'kio' required by kactivitymanagerd
:: removing kcmutils-git breaks dependency 'kcmutils' required by kde-cli-tools
:: removing ki18n-git breaks dependency 'ki18n' required by kdecoration
:: removing kservice-git breaks dependency 'kservice' required by kded
:: removing kservice-git breaks dependency 'kservice' required by kdesu
:: removing karchive-git breaks dependency 'karchive' required by kdoctools
:: removing karchive-git breaks dependency 'karchive' required by kemoticons
:: removing kservice-git breaks dependency 'kservice' required by kemoticons
:: removing ki18n-git breaks dependency 'ki18n' required by kfilemetadata
:: removing karchive-git breaks dependency 'karchive' required by kfilemetadata
:: removing kconfig-git breaks dependency 'kconfig' required by kfilemetadata
:: removing kcoreaddons-git breaks dependency 'kcoreaddons' required by kfilemetadata
:: removing kio-git breaks dependency 'kio' required by kinit
:: removing kio-git breaks dependency 'kio' required by kio-extras
:: removing kio-git breaks dependency 'kio' required by kmenuedit
:: removing kio-git breaks dependency 'kio' required by knewstuff
:: removing kpackage-git breaks dependency 'kpackage' required by knewstuff
:: removing kio-git breaks dependency 'kio' required by knotifyconfig
:: removing kio-git breaks dependency 'kio' required by kparts
:: removing kcoreaddons-git breaks dependency 'kcoreaddons' required by kpty
:: removing ki18n-git breaks dependency 'ki18n' required by kpty
:: removing kwayland-git breaks dependency 'kwayland' required by kscreenlocker
:: removing kdeclarative-git breaks dependency 'kdeclarative' required by kscreenlocker
:: removing ki18n-git breaks dependency 'ki18n' required by kunitconversion
:: removing kwindowsystem-git breaks dependency 'kwindowsystem' required by kvantum-qt5
:: removing kcmutils-git breaks dependency 'kcmutils' required by kwin
:: removing kwayland-git breaks dependency 'kwayland' required by libkscreen
:: removing kdeclarative-git breaks dependency 'kdeclarative' required by libksysguard
:: removing kauth-git breaks dependency 'kauth' required by manjaro-settings-manager
:: removing kcoreaddons-git breaks dependency 'kcoreaddons' required by manjaro-settings-manager
:: removing kdeclarative-git breaks dependency 'kdeclarative' required by plasma-framework
:: removing kwayland-git breaks dependency 'kwayland' required by plasma-framework
:: removing kirigami2-git breaks dependency 'kirigami2' required by plasma-framework
:: removing kio-git breaks dependency 'kio' required by plasma-integration
:: removing kwayland-git breaks dependency 'kwayland' required by plasma-integration
:: removing kpeople-git breaks dependency 'kpeople' required by plasma-workspace
:: removing kiconthemes-git breaks dependency 'kiconthemes' required by polkit-kde-agent
:: removing kdbusaddons-git breaks dependency 'kdbusaddons' required by polkit-kde-agent
:: removing kcrash-git breaks dependency 'kcrash' required by polkit-kde-agent
:: removing kirigami2-git breaks dependency 'kirigami2' required by qqc2-desktop-style
:: removing kiconthemes-git breaks dependency 'kiconthemes' required by qqc2-desktop-style

Again I could try to force the remove to break the dependencies but I think it will do more harm then good. Now at least I have a functioning system - I can open up vim, a terminal and a browser, if I do this I might not be able to do that either. Im at work right now this is the only computer available to me, if I mess this up, I will lose out on a few hours of work and I have a new version deployment today.

Im actually perfectly fine working like this, I dont even use GUI applications but I have an inactivity timeout of 5 minutes and every time I leave the computer idle for 5 minutes, it logs me out and I cannot log back in because my inactivity screen relies on KDE and I get no interface because KDE is broken so I have to reboot the machine and log in through my greeter.

I switched to i3 until further notice. I will try to solve this during the weekend and post updates.

Instead of removing them, just pacman -S the non-git variants, and say Yes when pacman asks if you want to replace them.

There’s a nice post by Zamundaaa explaining this, but as a new user I can’t post links. So I’ll copy the oneshot commands:

sudo pacman -S $(pacman -Qqen plasma | grep “-git” | sed ‘s/-git//g’)
sudo pacman --asdeps -S $(pacman -Qqdn | grep “-git” | sed ‘s/-git//g’)

I tried, got this, need further help:

sudo pacman -S $(pacman -Qqen plasma | grep “-git” | sed ‘s/-git//g’)
grep: invalid option – ‘g’
Usage: grep [OPTION]… PATTERNS [FILE]…
Try ‘grep --help’ for more information.
error: package ‘plasma’ was not found
error: no targets specified (use -h for help)

1 Like

I have the same problem my plasmashell is not starting up. I can run all the apps except some kde apps .Some apps like KSysGaurd works but there is not title bar. I tried the above command and it also gave similar error

❯ sudo pacman -S $(pacman -Qqen plasma | grep “-git” | sed ‘s/-git//g’)
sed: -e expression #1, char 1: unknown command: `�
error: package 'plasma' was not found
error: no targets specified (use -h for help)
2 Likes

One thing: when you copy and paste, remember to replace those quotes (’ ') and double quotes (" ") with your own typing, they also cause trouble.

1 Like

Another note, use BASH when executing the above-mentioned commands. I was using fish and it caused some errors.

Temporarily change shell prompt by hitting:

$ bash

And try to execute the command again…

❯ bash
$ sudo pacman -S $(pacman -Qqen plasma | grep "-git" | sed "s/-git//g")
grep: invalid option -- 'g'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
error: package 'plasma' was not found
🔒️ password :
error: no targets specified (use -h for help)
$

This is what I get when replacing it to double quotes and running it with bash.

Try instead:

sudo pacman -S $(pacman -Qqen plasma | grep '-git' | sed 's/-git//g’)

Its still same.

❯ bash
[ash@Toshiba ~]$ sudo pacman -S $(pacman -Qqen plasma | grep '-git' | sed 's/-git//g')
grep: invalid option -- 'g'
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
error: package 'plasma' was not found
🔒️ password :
error: no targets specified (use -h for help)
[ash@Toshiba ~]$

Due to this latest update my sddm login screen is also messed up…It shows some other login screen with some error on the bottom.

The image is on this url [ 0x0.st/-eI1.jpg ]

If the error is not clear enough to be seen. Below is the error in text.

The current theme cannot be loaded due to the errors below,
please select another theme
file:///usr/share/sddm/themes/ChromeOS/Main.qml:26:1:
plugin cannot be loaded for module "org.kde.plasma.core":
Cannot load library /usr/lib/qt/qml/org/kde/plasma/core/
libcorebindingsplugin.so: /usr/lib/libKF5PlasmaQuick.so.5:

It should be grep -- -git, not grep '-git', to prevent grep from interpreting those as flags.