How to update kwrite from version provided by Leap 15.5 main oss repo

After on online update from openSUSE 15.4 to 15.5 I see that Kwrite version 22.12.3-bp155.1.7 has been installed from Leap 15.5 main oss repo.

This version includes some major developments (!), but does NOT allow the user to run kwrite in single instance mode (SDI). This bug was discussed and full resolution was reported on the KDE bug list here. I understand that since this was not a security update it is unlikely that the updated version will be provided in Leap 15.5 main repo.

An updated kwrite version (kwrite-23.08.2-lp155.1.2.x86_64.rpm) is available in the KDE repositories here. However when I try to install this version zypper reports that “nothing provides ‘libc.so.6(GLIBC_2.34)(64bit)’ needed by the to be installed kwrite-23.08.2-1.1.x86_64”.

I wish to install an updated version of kwrite with SDI funtionality without the need to install (or at least to avoid updating other Leap 15.5 products from) the full KDE repos (QT5, Frameworks5, Applications & Extra).

I would be grateful for technical advice at general user level, on the ‘best practice’ process for installing updated versions of specific Leap 15.5 KDE applications.

Thank-you

Then you need to break dependencies.
But first try if you are able to only update kwrite (i doubt that).

Show complete output including full zypper command line and subsequent prompt as well as full output of zypper lr -d.

Then someone has to build kate against vanilla Leap 15.5 assuming this is possible at all (it may well require newer versions of other libraries than those available in Leap).

The file kwrite-23.08.2-lp155.1.2.x86_64.rpm has been copied from KDE repo to ‘local-repo’ to attempt installation - which failed as shown below.


:~ # zypper mr -d 4
Repository 'local_repo' has been successfully disabled.
linux-0i8n:~ # zypper lr -d
#  | Alias                       | Name                                                                                        | Enabled | GPG Check | Refresh | Priority | Type     | URI                                                                          | Service
---+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+----------+----------+------------------------------------------------------------------------------+--------
 1 | home_ithod                  | thod's projects (15.5)                                                                      | Yes     | (r ) Yes  | No      |   99     | rpm-md   | https://download.opensuse.org/repositories/home:/ithod/15.5/                 | 
 2 | home_maxiotis               | Michail Axiotis repo (15.5)                                                                 | Yes     | (r ) Yes  | No      |   99     | rpm-md   | https://download.opensuse.org/repositories/home:/maxiotis/15.5/              | 
 3 | home_txutxifel              | home:txutxifel (15.5)                                                                       | Yes     | (r ) Yes  | No      |   99     | rpm-md   | https://download.opensuse.org/repositories/home:/txutxifel/15.5/             | 
 4 | local_repo                  | local_repo                                                                                  | No      | ----      | ----    |   99     | plaindir | dir:/home/rob/local_repo                                                     | 
 5 | packman                     | packman                                                                                     | Yes     | (r ) Yes  | Yes     |   90     | rpm-md   | https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_15.5/          | 
 6 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/update/leap/15.5/backports_debug/               | 
 7 | repo-backports-update       | Update repository of openSUSE Backports                                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://mirrorcache.opensuse.org/update/leap/15.5/backports/                 | 
 8 | repo-non-oss                | Non-OSS Repository                                                                          | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://mirrorcache.opensuse.org/distribution/leap/15.5/repo/non-oss/        | 
 9 | repo-oss                    | Main Repository                                                                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://mirrorcache.opensuse.org/distribution/leap/15.5/repo/oss/            | 
10 | repo-sle-debug-update       | Update repository with debuginfo for updates from SUSE Linux Enterprise 15                  | No      | ----      | ----    |   99     | NONE     | http://download.opensuse.org/debug/update/leap/15.5/sle/                     | 
11 | repo-sle-update             | Update repository with updates from SUSE Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://mirrorcache.opensuse.org/update/leap/15.5/sle/                       | 
12 | repo-source                 | Source Repository                                                                           | No      | ----      | ----    |   99     | NONE     | https://mirrorcache.opensuse.org/source/distribution/leap/15.5/repo/oss/     | 
13 | repo-source-non-oss         | Source Repository (Non-OSS)                                                                 | No      | ----      | ----    |   99     | NONE     | https://mirrorcache.opensuse.org/source/distribution/leap/15.5/repo/non-oss/ | 
14 | repo-update                 | Main Update Repository                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | http://download.opensuse.org/update/leap/15.5/oss                            | 
15 | repo-update-non-oss         | Update Repository (Non-Oss)                                                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://mirrorcache.opensuse.org/update/leap/15.5/non-oss/                   | 
16 | skype-stable                | skype (stable)                                                                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://repo.skype.com/rpm/stable/                                           | 
17 | snappy                      | snappy                                                                                      | Yes     | (r ) Yes  | Yes     |   99     | rpm-md   | https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.5 | 
:~ # 

# zypper install kwrite-23.08.2-lp155.1.2.x86_64
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides 'libkateprivate.so.23.08.2()(64bit)' needed by the to be installed kwrite-23.08.2-lp155.1.2.x86_64
 Solution 1: do not install kwrite-23.08.2-lp155.1.2.x86_64
 Solution 2: break kwrite-23.08.2-lp155.1.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): [1]

Thank-you

Thanks. Seems so.

After installing kwrite-23.08.2-lp155.1.2.x86_64 - kwrite failed to run …

~> kwrite
kwrite: error while loading shared libraries: libkateprivate.so.23.08.2: cannot open shared object file: No such file or directory
:~>

You would need to install updated kate as well. However this may cause further dependency issues.

That makes sense. Thanks for your advice.