Kate don't start after last update

My apologies. ll is an alias on my system. Try this one instead… :arrow_down:

ls -lh /usr/lib/libKF5TextEditor.so.5.81.0

it looks better now

[nicolas@nls-pc ~]$ ls -lh /usr/lib/libKF5TextEditor.so.5.81.0
-rwxr-xr-x 1 root root 3,6M avril  4 16:45 /usr/lib/libKF5TextEditor.so.5.81.0
[nicolas@nls-pc ~]$ 

That file is at the correct version. So even though Kate throws an error about that file, the file itself is okay. But Kate calls it via a symlink, so can you paste the outcome of the following?

ls -l /usr/lib/libKF5TextEditor.so.5
[nicolas@nls-pc ~]$ ls -l /usr/lib/libKF5TextEditor.so.5
lrwxrwxrwx 1 root root 26 avril  4 16:45 /usr/lib/libKF5TextEditor.so.5 -> libKF5TextEditor.so.5.81.0
[nicolas@nls-pc ~]$ 

So the link exists as well, which again means that there’s nothing wrong there. That makes me wonder where the problem lies. :thinking:

I’ll tell you what you could do… You could create a test account on your system, log into that, and then check whether Kate works if you start it there. If it does, then that means that the problem must be situated in the home directory of your main account.

1 Like

Seems to be an upstream bug - check the known issues of the recent announcement for a workaround:

As this workaround adds an IgnorePKG line to /etc/pacman.conf: be sure to remove that when the workaround is no longer needed or your kio package will stay on it’s downgraded version and probably cause problems at some point in the future.

1 Like

Hi, @Aragorn

look at that, I try the solution, but something go wrong with sudo pacman -U...

[nicolas@nls-pc ~]$ wget https://archive.archlinux.org/packages/k/kio/kio-5.79.0-1-x86_64.pkg.tar.zst
--2021-04-19 09:12:40--  https://archive.archlinux.org/packages/k/kio/kio-5.79.0-1-x86_64.pkg.tar.zst
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving archive.archlinux.org (archive.archlinux.org)... 2a01:4f8:242:5614::2, 49.12.124.107
Connecting to archive.archlinux.org (archive.archlinux.org)|2a01:4f8:242:5614::2|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7823325 (7,5M) [application/zstd]
Saving to: ‘kio-5.79.0-1-x86_64.pkg.tar.zst’

kio-5.79.0-1-x86_64.pkg.tar 100%[==========================================>]   7,46M   353KB/s    in 20s     

2021-04-19 09:13:00 (383 KB/s) - ‘kio-5.79.0-1-x86_64.pkg.tar.zst’ saved [7823325/7823325]

[nicolas@nls-pc ~]$ sudo pacman -U kio-5.79.0-1-x86_64.pkg.tar.zst
[sudo] password for nicolas: 
loading packages...
resolving dependencies...
looking for conflicting packages...
:: kio and kio-git are in conflict. Remove kio-git? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kio-git breaks dependency 'kio-git' required by kdeclarative-git
:: removing kio-git breaks dependency 'kio-git' required by kinit-git
:: removing kio-git breaks dependency 'kio-git' required by knewstuff-git
[nicolas@nls-pc ~]$ sudo echo "IgnorePkg = kio" >> /etc/pacman.conf
bash: /etc/pacman.conf: Permission denied
[nicolas@nls-pc ~]$ 

*-git packages should not be there, replace them with their non-git counterpart.
If one step of a workaround is not working (downgrading package) - do not continue blindly!

That sudo command is plain wrong and should be corrected I’ve corrected it in that wiki post:

$ echo "IgnorePkg = kio" | sudo tee -a /etc/pacman.conf
1 Like

is it correct like that ?

wget https://archive.archlinux.org/packages/k/kio/kio-5.79.0-1-x86_64.pkg.tar.zst
sudo pacman -U kio-5.79.0-1-x86_64.pkg.tar.zst
echo "IgnorePkg = kio" | sudo tee -a /etc/pacman.conf

Yes, but that has the same problem as you already showed: kio won’t get installed due to those * -git packages not having their dependencies met. They need to be replaced with their non -git counterparts.

  • kdeclarative-git
  • kinit-git
  • knewstuff-git

It could very well be the case that fixing those *-git-accidents also “repairs” the initial kio-problem you have as you seem to also have kio-git installed (and need to replace it with kio).

1 Like

It doesn’t work, sorry

What is strange, I have no issue on the other devices… kio are not the same…
I would like to remove kio-git but it will be brake a lot of software… I mean it uninstall a lot of software…

My x86 64 computer with kio

An other x86 64 computer with kio

Install kio and it will ask you to replace kio-git with kio.
But you need to do this for each -git package you have installed.

1 Like

Hi, OK I try

it doesn’t work… strange issue

during my update every software are close, I think it’s better

As I said, you need to do it for all the -git packages in the same go.

Try with pacman instead of Pamac.

If I remove kio git kio

[nicolas@nls-pc ~]$ sudo pacman -S kio
warning: config file /etc/pacman.conf, line 99: directive 'IgnorePkg' in section 'multilib' not recognised.
resolving dependencies...
looking for conflicting packages...
:: kio and kio-git are in conflict. Remove kio-git? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing kio-git breaks dependency 'kio-git' required by kdeclarative-git
:: removing kio-git breaks dependency 'kio-git' required by kinit-git
:: removing kio-git breaks dependency 'kio-git' required by knewstuff-git
[nicolas@nls-pc ~]$ 

If I don’t remove kio git kio

[nicolas@nls-pc ~]$ sudo pacman -S kio
warning: config file /etc/pacman.conf, line 99: directive 'IgnorePkg' in section 'multilib' not recognised.
resolving dependencies...
looking for conflicting packages...
:: kio and kio-git are in conflict. Remove kio-git? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: kio and kio-git are in conflict
[nicolas@nls-pc ~]$ 

Add kdeclarative kinit knewstuff to the pacman line and say yes to all.

Is it correct ?

sudo pacman -S kio kdeclarative kinit knewstuff

Very strange

[nicolas@nls-pc ~]$ sudo pacman -S kio kdeclarative kinit knewstuff
[sudo] password for nicolas: 
warning: config file /etc/pacman.conf, line 99: directive 'IgnorePkg' in section 'multilib' not recognised.
resolving dependencies...
looking for conflicting packages...
:: kdeclarative and kdeclarative-git are in conflict. Remove kdeclarative-git? [y/N] y
:: kinit and kinit-git are in conflict. Remove kinit-git? [y/N] y
:: kio and kio-git are in conflict. Remove kio-git? [y/N] y
:: knewstuff and knewstuff-git are in conflict. Remove knewstuff-git? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing knewstuff-git breaks dependency 'knewstuff-git' required by ksysguard-git
:: removing kinit-git breaks dependency 'kinit-git' required by ksysguard-git
:: removing kdeclarative-git breaks dependency 'kdeclarative-git' required by libksysguard-git
:: removing knewstuff-git breaks dependency 'knewstuff-git' required by libksysguard-git
[nicolas@nls-pc ~]$ 

Add ksysguard libksysguard too.

You see the idea yet? :slight_smile: