KDE/Plasma for Debian – Update 2022/7
(Update 2022-07-14: Plasma 5.25 now also available for Debian/stable)
Long time I haven’t posted a lot about KDE/Plasma for Debian, most people will know the reason. But I have anyway updated my repos at OBS, which now contain the latest releases of frameworks, gears, and plasma!
The status is as follows (all for Debian/stable, testing, unstable:
- Frameworks: 5.96
- Gears: 22.04.3
- Plasma 5.25: 5.25.3
- Plasma 5.24 LTS: 5.24.6
Unfortunately, compiling Plasma 5.25 didn’t work out due to dependencies on newer versions of Xorg and related libraries.
I repeat (and update) instructions for all here: First of all, you need to add my OBS key say in
/etc/apt/trusted.gpg.d/obs-npreining.asc and add a file
/etc/apt/sources.lists.d/obs-npreining-kde.list, containing the following lines, replacing the
DISTRIBUTION part with one of
Debian_11 (for Bullseye),
deb https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/other-deps/DISTRIBUTION/ ./ deb https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/frameworks/DISTRIBUTION/ ./ deb https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/plasma525/DISTRIBUTION/ ./ deb https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/apps2204/DISTRIBUTION/ ./ deb https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/other/DISTRIBUTION/ ./
Some programs in the
other group have been recompiled against the Gears 22.04 libraries.
Usual disclaimer: (1) Considering that I don’t have a user-facing Debian computer anymore, all these packages are only tested by third parties and not by myself. Be aware! (2) Funny to read the Debian Social Contract, Point 4. Our priorities are our users and free software, obviously I care a lot about my users, more than some other Debian members.
Hi there! Thanks again for releasing Plasma 5.25. I’m still getting a gpg error even after re-importing the key from your repository. I already tried the updated key from your previous post. Has the key been updated yet as of today? Thanks again!
The key was updated beginning of June. If you run
gpg obs-npreining.ascyou should see
If that is the same as you have, then you might have a different copy hanging around somewhere else. Can you check all the other keys, please
Thank you so much for all your work and effort. We stay with you!
For some reason libkf5identitymanagementwidgets5 is marked as not needed anymore (so autoremove removes it), but kmail still depends on it. So far I marked it as manual to keep it, but it seems incorrect.
Indeed, strange. It is needed by kmail, but not in the dependencies. Need to check on that.
Thank you so much for your hard work on Plasma – it is very much appreciated.
I have updated my repo’s tonight from Plasma 5.24 (installed from official repo’s for Debian Testing), and attempted an update. Apt is wanting to remove quite a large amount of software, including critical system components (Dolphin, breeze, plasma-desktop, plasma-framework are a couple of examples), and some other important applications I have installed (Systemback, VLC, among others).
Needless to say, I was rather reluctant to proceed. Just wanted to let you know.
Hard to debug from here. I just tried it on a Debian/sid system and it worked without problems.
Maybe you haven’t updated the apps apt-sources line to 2204?
Thanks for that – I found the problem, seems to be on my end, sorry for your trouble.
I tried again just now, and successfully upgraded to 5.25. The problem seems to be with Mesa, and I think I’ve opened a can of worms.
I run a game under Wine through Lutris, called Future Pinball. It relies on Mesa drivers, but for some reason it doesn’t run correctly on the current version of Mesa (22.0.5). It only works properly on an older version (20.3.5). Therefore, I had that version of Mesa installed on Testing, and it seems that was causing the bug preventing upgrading Plasma.
Upgraded Mesa, and that fixed Plasma. Likely though, Future Pinball will stop working, so gotta try to figure out what I can do about that…
Thank you again!
Thank you very much 🙂
Hi Norbert, thanks for all the updates, keep em coming! But it seems like some of the packages are expecting to use the older 5.24.5 ones instead of 5.24.6 in the latest updates. Partial upgrade issue? I use the stable repo. I’ll refrain from updating for now, but thanks again!
I think you tried while the build was still in process. Now all the packages are built, please retry.
They upgraded just fine now. Thanks!
I just made the update, but now kmail does not start anymore.
I get this:
kmail: error while loading shared libraries: libKF5IdentityManagementWidgets.so.5: cannot open shared object file: No such file or directory
forgot to mention I’m using Debian_11 (stable) in case that matters.
You need to install libkf5identitymanagementwidgets5, I don’t know why that is not pulled in automatically. I will look into it.
thanks, Norbert, that did the trick – after installing this manually, all is ok again.
I came home today after some days and there were the Frameworks 5.96, the Gears 22.04.3 and the Plasma 5.24.6 updates for Debian 11 (Bullseye/stable).
The updates worked flawlessly and I have had no problems at all so far.
Thank you again for your great work!
Thanks, good to hear.
Thanks a lot, installing now :”)
Thanks for another flawless update, 5.25 running smoothly on Siduction here.
thank you very much for your KDE releases. I always look forward to those and they work very for me!
This time plasma525/Debian_11 appears to be missing however.
You might want to read the actual text above, I started clearly that due to too new Xorg requirements, Plasma 5.25 cannot be built in Debian/stable.
My bad, overlooked that one.
Thank you for supporting this packages – KDE 5.20 in Debian stable has an issues, which prevent it using in VirtualBox environement (you can’t change screen resolution for example – it immediatelly resets back). New versions of KDE which you still build are working perfectly.
However, maybe this too new Xorg requirements is sorely Debian/experimental issue? Because KDE Neon images with Plasma 5.25, which built on top Ubuntu 20.04 with HWE, uses very similar Xorg version (1.20.13) comparing to Debian stable (1.20.11). Are this two X versions so different?
Interesting … so the problem on Debian is with libxcvt which is not available in Debian/stable.
I don’t know whether/how this works on Ubuntu 20.04 / Neon, could you investigate and let me know? Do they have this library, and where is it built from?
Also is not available on Ubuntu/focal, but KDE Neon maintainers are packaging libxcvt themselves
Thanks, indeed. In the meantime I found it myself on the neon git. I have added libxcvt to the other-deps repo, and I am trying to rebuild plasma525 for stable now. Let us see how that goes.
Thank you for your time for the Debian stable users =)
Thanks it updated just fine. 5.25 working mostly smooth on testing. sadly latte doesn’t show multiple instances of terminal, in case anyone was wondering if there were obvious bugs in 5.25. hopefully someone will catch it and fix in update soon. thanks norbert, everything works well!
I’ve been getting this error consistently of late:
Fatal error: Error while installing package: trying to overwrite ‘/usr/share/config.kcfg/cantor_libs.kcfg’, which is also in package libcantorlibs28
Hi Mr. Preining,
Thank you again for your work. Very much appreciated 🙂
Trying to update Debian stable…
sudo apt install plasma-desktop
Reading package lists… Done
Building dependency tree… Done
Reading status information… Ready
Some packages could not be installed. This could mean that
you requested an impossible situation or, if you are using the
unstable distribution, that some required packages were not
created yet or were withdrawn from “Incoming”.
The following information may help resolve the situation:
The following packages have mismatched dependencies:
polkit-kde-agent-1 : Depends: polkitd but not installable
E: Unable to fix problems, you kept (hold) broken packages.
I will look into it, I faintly remember having this fixed already many times, and every time I sync with Debian it is getting lost…
I solved the problem like this: I enabled the testing repository, installed the polkitd package (which is not in stable); I disabled testing later and then I managed to update. When installing polkitd, the system updated some other packages (I don’t remember which ones). But it worked.
Hmm, but stable *does* have the polkitd package, what is the problem you faced? The comment above does not give enough information. What does
apt install polkitdwithout the testing repo activated tell you?
polkitd is only in testing, unstable and experimental:
Indeed, fixed now. ~np2 has alternative deps for stable
good day Norbert, I was able to upgrade today, still need to check several things. I needed to install many ..dbgsym… packages in order to let apt install the matching code. I simply do not know how I could have done this otherwise.
Thanks a LOT !!!
Besturingssysteem: Debian GNU/Linux
KDE Plasma-versie: 5.25.3
Versie van KDE-Frameworks: 5.96.0
Kernel-versie: 5.19.0-rc6-amd64 (64-bits)
Grafisch platform: X11
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Geheugen: 7,2 GiB RAM
Grafische processor: Mesa Intel® HD Graphics 4400
Productnaam: HP ProBook 430 G1
After I installed also “aptitude install plasma-nm-dbgsym -t sid” also plasma-nm was installed and the installating is working well.
Thanks a lot!!!
Not sure why you would need debug symbols to install the main packages, though …
I do not understand also.
With “aptitude install plasma-nm” it says ¨ already installed”. Requesting to install the dbgsym it install this package but also installs plasma-nm.
apt-cache policy plasma-nmsay? Are you on SID?
luc@wolder:~$ apt-cache policy plasma-nm
*** 4:5.25.3-1~np1 500
500 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/plasma525/Debian_Unstable ./ Packages
500 http://httpredir.debian.org/debian experimental/main amd64 Packages
990 http://httpredir.debian.org/debian testing/main amd64 Packages
500 http://httpredir.debian.org/debian unstable/main amd64 Packages
luc@wolder:~$ cat /etc/apt/preferences.d/preferences
Pin: release a=testing
Pin: release a=sid
Pin: release a=experimental
Pin: origin downloadcontent.opensuse.org
Looks reasonable. Did you have debug symbol packages installed before?
i think dbgsym’s were not installed before.
What is best “apt” command, after i add your repo’s to install/upgrade all new packages in one go?
Thank you, your efforts and altruism are much appreciated
been using your Plasma releases on Siduction
upgrade to 5.25 went smoothly
in our sid(uction) distribution we are used to
# apt full-upgrade -V
to install/upgrade all new packages (successful) in one go.
thx a lot, i will try it
Hi Thomas, unfortunately the command pulled in more packages. I installed the new Plasma on another machine and had to do the same: install …dbgsym… packages in order to install the wanted binary. After installation I removed the ..dbgsym… packages of course. Strange behaviour of apt, even on 2 different PCś. The end result is that all is working and that is what counts!
Good job! Works perfectly on my Bullseye! Thank you very much!!!
Looks like some package conflict:
dpkg: error processing archive /tmp/apt-dpkg-install-xbXpEV/018-kmailtransport-akonadi_22.04.3-1_amd64.deb (–unpack):
trying to overwrite ‘/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/mailtransport/mailtransport_smtpplugin.so’, which is also in package libkf5mailtransport5:amd64 22.04.3-1~np1
It’s fixable with sudo apt –fix-broken install, but still looks incorrect.
Yes, I packaged it long before Debian did, and they did some file placement different. I will sync with Debian. Thanks for the heads-up!
I update my packages to put the files in the same location as the Debian packages
Hi, and thanks for all!
For unknowns reasons, the gpg signature don’t work on my system until i modified the obs-npreining-kde.list like this (adding [signed-by=/etc/apt/trusted.gpg.d/obs-npreining.asc] for each repos…) :
deb [signed-by=/etc/apt/trusted.gpg.d/obs-npreining.asc] https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/other-deps/Debian_11/ ./
deb [signed-by=/etc/apt/trusted.gpg.d/obs-npreining.asc] https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/frameworks/Debian_11/ ./
deb [signed-by=/etc/apt/trusted.gpg.d/obs-npreining.asc] https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/plasma524/Debian_11/ ./
deb [signed-by=/etc/apt/trusted.gpg.d/obs-npreining.asc] https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/apps2204/Debian_11/ ./
deb [signed-by=/etc/apt/trusted.gpg.d/obs-npreining.asc] https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/other/Debian_11/ ./
I’am on LinuxMX21_KDE. Perhaps there is a better way to do this…
Maybe something has changed in how apt checks signatures, I’ll check back.
I have packages that are unable to install. even as su when i run pkcon update, i get the following error:
Fatal error: Error while installing package: trying to overwrite ‘/usr/share/config.kcfg/cantor_libs.kcfg’, which is also in package libcantorlibs28 4
Anything I can do to fix? rebooting hasn’t helped. Thanks in advance!
In case anyone else runs into this problem, this is how I solved it:
sudo apt-get -o Dpkg::Options::=”–force-overwrite” –fix-broken install
As I encountered it I include below typical install scenario – the one with the dbgsym – below. It includes the workaround. My issue: to build “latte-dock” https://github.com/KDE/latte-dock I need to install several -dev packages, before I could install those, with this upgrade not all.
root@wolder:~# aptitude install qml-module-org-kde-kcmutils -t sid
qml-module-org-kde-kcmutils is reeds geïnstalleerd met de gevraagde versie (5.94.0-2)
qml-module-org-kde-kcmutils is reeds geïnstalleerd met de gevraagde versie (5.94.0-2)
Er zullen geen pakketten geïnstalleerd, opgewaardeerd of verwijderd worden.
0 pakketten opwaarderen, 0 nieuwe installeren, 0 verwijderen en 114 niet opwaarderen.
Heb 0 B archieven nodig. Na uitpakken zal 0 B worden gebruikt.
root@wolder:~# aptitude install qml-module-org-kde-kcmutils-dbgsym -t sid
De volgende NIEUWE pakketten zullen worden geïnstalleerd:
0 pakketten opwaarderen, 1 nieuwe installeren, 0 verwijderen en 114 niet opwaarderen.
Heb 395 kB archieven nodig. Na uitpakken zal 417 kB worden gebruikt.
De volgende pakketten hebben niet-voldane vereisten:
qml-module-org-kde-kcmutils-dbgsym : Vereisten: qml-module-org-kde-kcmutils (= 5.96.0-1~np2) maar 5.94.0-2 is geïnstalleerd
De volgende acties zullen deze vereisten oplossen:
Behoud de volgende pakketten op hun huidige versie:
1) qml-module-org-kde-kcmutils-dbgsym [Niet geïnstalleerd]
Deze oplossing aanvaarden? [Y/n/q/?]n
De volgende acties zullen deze vereisten oplossen:
Doe opwaardering van volgende pakketten:
1) qml-module-org-kde-kcmutils [5.94.0-2 (now, testing, unstable) -> 5.96.0-1~np2 (
Deze oplossing aanvaarden? [Y/n/q/?]Y
De volgende NIEUWE pakketten zullen worden geïnstalleerd:
De volgende pakketten zullen worden opgewaardeerd:
1 pakketten opwaarderen, 1 nieuwe installeren, 0 verwijderen en 114 niet opwaarderen.
Heb 414 kB archieven nodig. Na uitpakken zal 418 kB worden gebruikt.
Wilt u verdergaan? [Y/n/?] Y
Haal: 1 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/frameworks/Debian_Unstable ./ qml-module-org-kde-kcmutils 5.96.0-1~np2 [19,1 kB]
Haal: 2 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/frameworks/Debian_Unstable ./ qml-module-org-kde-kcmutils-dbgsym 5.96.0-1~np2 [395 kB]
414 kB opgehaald in 1s (492 kB/s)
De changelogs worden ingelezen… Klaar
(Database wordt ingelezen … 368711 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van …/qml-module-org-kde-kcmutils_5.96.0-1~np2_amd64.deb wordt voorbereid…
Bezig met uitpakken van qml-module-org-kde-kcmutils:amd64 (5.96.0-1~np2) over (5.94.0-2) …
Voorheen niet geselecteerd pakket qml-module-org-kde-kcmutils-dbgsym:amd64 wordt geselecteerd.
Uitpakken van …/qml-module-org-kde-kcmutils-dbgsym_5.96.0-1~np2_amd64.deb wordt voorbereid…
Bezig met uitpakken van qml-module-org-kde-kcmutils-dbgsym:amd64 (5.96.0-1~np2) …
Instellen van qml-module-org-kde-kcmutils:amd64 (5.96.0-1~np2) …
Instellen van qml-module-org-kde-kcmutils-dbgsym:amd64 (5.96.0-1~np2) …
Huidige status: 114 (-1) opwaardeerbaar.
First, I must recognize the invaluable contribution of Norbert Preining!
Congratulations for you brilliant work! The open source community need more open-minded people like you.
Before “discursive wars”, what you done here it is a practical example how this wonderful community yet have a lot more to learn for attract more and more people beyond who is already “converted”!
Then, I would like to know if someone could help to install the KDE/Plasma upgrades this OBS repository.
The summary of my problem is:
1. I installed the Parrot OS Architect Edition without a Desktop.
2. After reboot and I installed the KDE/Plasma with minimal install following the command:
sudo apt -y install kde-plasma-desktop plasma-nm
4. I followed the instructions above for the OBS repository.
5. I tried, but none updates are available from:
a. sudo apt update
b. sudo apt full-upgrade -V (quoted above)
c. sudo parrot-upgrade
d. Then I tried check the “Force Version” from Synaptic app to version 4:5.25.3-1~np1 of plasma-nm, for exemple, but this didn’t take any effect.
– Could someone tell too how install just the LTS version of KDE/Plasma from this OBS repository?
– Can I use this repository and keep receiving the updates just for the LTS version until the next stable release?
PS: Sorry for the double post, but I need try to fix the text formatting.
I have no idea about Parrot os, but I guess you need to look into pinning. I would check what eg
apt-cache policy plasma-desktopetc says.
Hi, Norbert Preining, thanks for your contribution!
Now I know something about how add new repositories in a Debian distro. (before I just used PPAs in Ubuntu…)
I found the information about how pinning here in your blog.
After I did it, now “sudo apt upgrade” made the updates.
Now I have a security/privacy friendly (with AnonSurf) Debian LTS distro (Parrot OS) that come already with the latest Kernel and the lastest KDE LTS (your exceptional work here). What I thought it was impossible, remaining just other options like Manjaro, etc. Or I come back to Ubuntu (KDE neon).
And now I have too the answer about the updates from your KDE LTS (5.24), because I saw that it is updated and I just need choose the “plasma524” option in the repository list.
Could you say something about:
1. Could happen bad effects if I choose keep the LTS (plasma524) and the latest “apps2204”?
Or the right way is it “plama524” together with “apps2112”?
2. Is it correct my thought about keep the LTS if I want minimize the possibilities of problem when new updates are available?
As a long time Debian user what are your experiences/thoughts on Arch compared to Debian?
I think Arch is very close to Debian/unstable without the long breakage of everything before and after release. One needs to know the way around the system. OTOH, packaging is soo much easier on Arch, so fixing up a problem is very straight-forward. Also, since packages are extremely close to the original authors’ intention (while Debian packages often carry loads of changes), it makes it easy to check with upstream.
So all in all I would say that for someone with experience of Linux and managing one’s own computer, they are pretty close.
Thanks is working great! Here are the steps I followed in case anyone is interested. This includes setting up the deb822 source:
# get the key:
curl -fsSL https://www.preining.info/obs-npreining.asc | sudo tee /usr/local/share/keyrings/obs-npreining.asc
# deb822 source:
URIs: https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/other-deps/Debian_11 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/frameworks/Debian_11 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/plasma525/Debian_11 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/apps2204/Debian_11 https://download.opensuse.org/repositories/home:/npreining:/debian-kde:/other/Debian_11
sudo apt full-upgrade -V 2>&1 | tee npreining-kde-upgrade.log
# may or may not be necessary:
sudo apt –fix-broken install
# install extras (these are extras that show up in System Settings):
sudo apt install kaccounts-integration print-manager foomatic-db-compressed-ppds openprinting-ppds plasma-firewall
Disculpe mi inglés. Uso un traductor.
Seguí todos sus pasos para actualizar plasma en MX Linux KDE basado en Debian 11, pero no me ha funcionado.
Tengo el archivo indicado en:
y este otro
también allí de la siguiente forma:
¿Qué estoy haciendo mal?
Traducción realizada con la versión gratuita del traductor http://www.DeepL.com/Translator
EDITO: El problema es mío, de novato. Volví a leer con detalle las instrucciones y mi MX KDE 21.2 se actualizó sin problema de la versión 5.20.5 a la versión 5.25.5 sin ningún fallo al reiniciar.