Kate won't Work

my text editor “Kate” won’t open at all
i tried reinstalling but still no improvement
i tried doing this
kate --version
kate --help
but got this for everything
kate: symbol lookup error: /usr/lib/libKF5TextEditor.so.5: undefined symbol: _ZN9KLineEdit16returnKeyPressedERK7QString

Can someone please help me how to get kate working again :worried:

1 Like
2 Likes

Fire her lazy ass, then!

1 Like

Try
sudo pacman -S ktexteditor
or
sudo ln -s /usr/lib/libKF5TextEditor.so.5.81.0 /usr/lib/libKF5TextEditor.so.5

1 Like

I got kate to work again after getting this exact error by replacing ktexteditor with ktexteditor-git.

Process
I uninstalled kate. Installed ktexteditor-git which automatically dependencies and uninstalled ktexteditor and duplicates. I then re-installed kate and it worked.

3 Likes

I had the same issue with kate. Your solution made my day - kate is working again. Thank you!

Tried this and it worked. Thanks

I also use kwrite so tried a similar trick with kwrite. Uninstall kwrite and kwrite demon and install kwrite and kwrite demon git version. Kwrie now works also

Hi,

Your solution is working on my side with a virtual machine, thanks a lot.

@Strit
How to uninstall kio-git ?

Install regular kio instead. That will make it ask if you want to remove kio-git, say yes to that.

Thanks for your answer, I tried again, the dependencies problem is back

Kate is working, thanks to @srahman5317
here is Manjaro install on a virtual machine, thanks again.
In the future (and the present) I’ll take care with kio, for sure :-)

I don’t get why people mix git and non-git packages so lightly. It’s so annoying to clean up afterwards.

But as I wrote in one of the many other threads about this exact issue, you need to replace ALL the git packages, with their non-git counterpart.
And the most safe way to do that, is via pacman in the terminal.

2 Likes

I’m absolutely not sure, but I think it might be something like the description says the -git version is the latest and greatest. Most people that I know wouldn’t think something with flaws will available to the general public.

Same problem here, additionally same problem with Ark.

Yes, but that seems to be only one side of the medal. For my most recent installation I found:

[ ~]$ sudo tune2fs -l /dev/sda4 | grep -i Created
Filesystem created:       Fri Nov 27 12:42:22 2020
[ ~]$ head -n1 /var/log/pacman.log
[2020-11-27T12:45:44+0100] [PACMAN] Running 'pacman --noconfirm --cachedir /var/cache/pacman/pkg --config /opt/mhwd/pacman-mhwd.conf --root / --needed -Sy xf86-video-ati xf86-video-amdgpu xf86-video-intel xf86-video-nouveau vulkan-intel vulkan-radeon libva-mesa-driver libva-vdpau-driver mesa-vdpau lib32-vulkan-intel lib32-vulkan-radeon lib32-libva-vdpau-driver lib32-mesa-vdpau'

The following 27 ‘-git’ packages are installed as a dependency on that system:

[~]$ pacman -Qqdn | grep "\-git"
attica-git
karchive-git
kauth-git
kbookmarks-git
kcodecs-git
kcompletion-git
kconfig-git
kconfigwidgets-git
kcoreaddons-git
kcrash-git
kdbusaddons-git
kglobalaccel-git
kguiaddons-git
ki18n-git
kiconthemes-git
kio-git
kitemviews-git
kjobwidgets-git
knotifications-git
kservice-git
ktextwidgets-git
kwallet-git
kwidgetsaddons-git
kwindowsystem-git
kxmlgui-git
solid-git
sonnet-git

I am nearly sure that I did not exchange a KDE-related package by hand by its ‘-git’ alternative in this os installation, and if I would have done so some of the above 27 would have status ‘explicitly installed’.
And there is no such package:

[~]$ pacman -Qqen | grep "\-git" | wc -l
0

But there is a package that looks very strange to me as it’s

  • classified as an orphan
  • a library
  • not native (foreign)
  • a preinstalled package
    and it needs package ‘kio-git’ a dependency:
[ ~]$ pacman -Qqe --foreign | grep "\-git"
user-manager-git
[ ~]$ pacman -Qi user-manager-git
Name                     : user-manager-git
Version                  : 5.19.90.r501.g1b71858-1
Beschreibung             : A simple system settings module to manage the users of your system
Architektur              : x86_64
URL                      : https://www.kde.org/workspaces/plasmadesktop/
Lizenzen                 : LGPL
Gruppen                  : plasma-git
Stellt bereit            : user-manager=5.19.90.r501.g1b71858-1
Hängt ab von             : accountsservice  libpwquality  kio-git
Optionale Abhängigkeiten : Nichts
Benötigt von             : Nichts
Optional für             : Nichts
In Konflikt mit          : user-manager
Ersetzt                  : Nichts
Installationsgröße       : 9,67 MiB
Packer                   : Unknown Packager
Erstellt am              : Fr 23 Okt 2020 23:08:47 CEST
Installiert am           : Mi 18 Nov 2020 11:41:26 CET
Installationsgrund       : Ausdrücklich installiert
Installations-Skript     : Nein
Verifiziert durch        : Signatur

Package ‘kio-git’ itself also has three ‘-git’ package dependencies. So, it looks as though the preinstalled package ‘user-manager-git’ might also be a true cause of the trouble caused by mixed up
KDE-related packages.

What to do now?
May I just delete the orphan package ‘user-manager-git’ and then exchange all ‘-git’ packages by their ‘non-git’ equivalents?

Yes, in the release notes of Manjaro 20.2 Nibia by philm I found the hint that for the KDE version package ‘user-manager-git’ was in the profile “for some reason” and the ‘-git’ versions of the KDE packages (listed in my previous post) came into the installation profile as direct and indirect dependencies.
Philip did provide a shell script to correct that.
So, if you also have package ‘user-manager-git’ installed on your system then you are affected by this. Please search for that package name in the forum to find the script.
(Because I didn’t read the release notes carefully :roll_eyes: I became aware of it only now when Kate and additionally Ark began to make trouble.)

1 Like