Page 1 of 1

[SOLVED] - Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 20th, '24, 15:30
by oldbaldy
Hi Everyone,

After a failed attempt to install and use Wine my system locked up. Following a forced powerdown my problem arose.

KDE Plasma has vanished. In its place, when I successfully log on, is an Icewm desktop. So my system appears to be OK.

I would like to return to my familiar KDE Plasma environment. rpmdrake lists several Plasma packages as installed.

Is it possible to make the switch back to KDE easily or do I need to do some sort of repair or even a reinstall?

Thanks for your guidance in advance.

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 20th, '24, 18:44
by Germ
First thing I would do is reinstall task-plasma5

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 20th, '24, 19:11
by oldbaldy
Thank you. I will do it ASAP

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 20th, '24, 19:18
by oldbaldy
Thank you for offering help.

task-plasma5 was not installed. It is now.

No apparent impact on rebooting so where do I go from here?

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 20th, '24, 20:01
by morgano
When you get to login screen, select Plasma.

If problem: where do it go wrong?

EDIT, ADD: Regarding wine see
https://wiki.mageia.org/en/Ways_to_inst ... grams#Wine

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 20th, '24, 21:27
by doktor5000
Germ wrote:First thing I would do is reinstall task-plasma5

Reinstalling task- meta-packages won't do anything, as this does not cover any of the dependencies, only the empty task- package itself.

One would need to run urpmi --replacepkgs --replacefiles against any package which is required or suggested by task-plasma5 and task-plasma5-minimal.

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 21st, '24, 00:11
by morgano
doktor5000 wrote:Reinstalling task- meta-packages won't do anything, as this does not cover any of the dependencies, only the empty task- package itself.


It do seem to work to make sure Plasma5 is complete (package wise), Example:

1) urpme okular, and it will also remove task-plasma5-minimal and task-plasma5.
then
2) urpmi task-plasma5, and it will also install task-plasma5-minimal and okular

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 21st, '24, 00:57
by doktor5000
That's not the same, and in your case only works for okular because you removed it - hence only okular itself will be reinstalled.

Something like this should work at least for the application packages, libraries are not that easy to query:
Code: Select all
unset reinstall; installed=$(rpm -qa --qf '%{NAME}\n'); packages="task-plasma5 task-plasma5-minimal"; for package in $packages; do for pkg in $(urpmq --recommends ${package}|awk -F'[' '{print $1}'); do echo "${installed}"|grep -qix ${pkg} && reinstall="${reinstall} ${pkg}"; done ; for pkg in $(urpmq --requires ${package}|awk -F'[' '{print $1}'); do echo "${installed}"|grep -qix ${pkg} && reinstall="${reinstall} ${pkg}"; done; done

urpmi --replacepkgs --replacefiles --test ${reinstall}


In any case, blindly reinstalling packages is not the right approach 95% of the time.

Re: Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 21st, '24, 14:35
by Germ
i've fixed just such a scenario as oldbaldy's by reinstalling task-plasma. it's an easy first try at a fix. of course, I don't know his exact problem but its worth a shot.

SOLVED - Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 21st, '24, 15:21
by oldbaldy
Hi All,

Thanks to Germ's suggestion by rebooting and checking at the top of the login screen I found that I now had to option to select Plasma. I do not understand why it worked just that I am grateful to be up and running in my preferred Desktop once again.

Thanks very much for getting me out of an embarrassing hole.

Re: [SOLVED] - Mageia 9 KDE Plasma missing after Lock Up

PostPosted: Feb 21st, '24, 21:16
by Germ
You're welcome. Glad you got it sorted. :mrgreen: