Bug 28805

Summary: Cannot install plasma 5 theme as user, it does work as root.
Product: Mageia Reporter: Ezequiel Partida <ezequiel_partida>
Component: RPM PackagesAssignee: KDE maintainers <kde>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: lewyssmith, ouaurelien, rolfpedersen
Version: 8   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: systemsettings-5.20.4-2.mga8.src.rpm CVE:
Status comment:

Description Ezequiel Partida 2021-04-19 02:12:41 CEST
Please help

this appears while trying to install whitesur plasma theme. I trid it as root and it does install.

Installation of /tmp/PGMrqg-com.github.vinceliuice.WhiteSur-dark.tar.xz failed: Could not install dependency: 'kns://plasma-themes.knsrc/api.kde-look.org/1400409'

Regards
Comment 1 Lewis Smith 2021-04-19 20:34:06 CEST
I am unable to find anything in our repositories resembling 'whitesur' or 'WhiteSur-dark'. Can you please explain what you are doing, what command you tried, or what Plasma Settings path you followed. So that we can try it too.

Status: NEW => NEEDINFO
CC: (none) => lewyssmith

Comment 2 Aurelien Oudelet 2021-04-19 20:42:49 CEST
Normally, installing new stuff is done with KNewStuff and KPackage from Plasma. This should be done per-user basis.

This is not our bug, rather an upstream one.
Dig this next days.

Status: NEEDINFO => UPSTREAM
CC: (none) => ouaurelien

Comment 3 Aurelien Oudelet 2021-04-19 20:43:32 CEST
Also installing stuff as root should never never never be done!
Comment 4 Ezequiel Partida 2021-04-28 05:00:29 CEST
Hello Aurelien

This happen to me today on my Laptop while trying to install a Global Theme called Edna using systemsettings5

I got this error.

Installation of /tmp/VHrrxe-Edna-20210306190722.tar.gz failed: Could not move package to destination: /home/ezequielpartida/.local/share/plasma/look-and-feel/Edna

I fixed it using


chmod -Rfv a+xrw /home/ezequielpartida/.local/share/plasma/look-and-feel
Comment 5 Ezequiel Partida 2021-04-28 05:13:25 CEST
(In reply to Lewis Smith from comment #1)
> I am unable to find anything in our repositories resembling 'whitesur' or
> 'WhiteSur-dark'. Can you please explain what you are doing, what command you
> tried, or what Plasma Settings path you followed. So that we can try it too.

This are Global themes from Plasma 5 System Settings (systemsettings5 on konsole)

Just run system settings - Global Themes / Ge new Globa Themes /  search for a them called edna, whitesur or whitesur-dark.

Regards
Comment 6 Lewis Smith 2021-04-28 21:38:54 CEST
Thanks for this information. Plasma themes...
I will try this when I have time.
Comment 7 Lewis Smith 2021-04-29 22:09:44 CEST
Not getting anywhere. Under Plasma:
 System Settings - Global Themes - Get new Global themes (button)
sticks with an error "Network error 4: Socket operation timed out".
As for the directory whose permissions you changed:
 $HOME/.local/share/plasma/look-and-feel
I do not even have $HOME/.local/share/plasma/ ! I tried creating the full path, but got no further. Give up.
Re comment 2, it would need to be registered as a bug with KDE. However, if the starting point is a normal Plasma manipulation, maybe we have a bug.

Assigning it to the KDE team for consideration; they will advise what to do.

Assignee: bugsquad => kde
Status: UPSTREAM => NEW
Source RPM: (none) => systemsettings-5.20.4-2.mga8.src.rpm

Comment 8 Rolf Pedersen 2021-04-29 23:07:13 CEST
(In reply to Lewis Smith from comment #7)
> Not getting anywhere. Under Plasma:
>  System Settings - Global Themes - Get new Global themes (button)
> sticks with an error "Network error 4: Socket operation timed out".

Out of curiosity, on 64-bit up-to-date MGA8, I followed your path and, after clicking the Get new Global themes (button), there was a progress spinner for such a long time that I went to a different virtual desktop to do something else.  When I came back, a lot of new global themes had been loaded and, when I scrolled down, more were added.
The ethernet connection is about 200/6.  Maybe the server is slow/overloaded?
Anyway, I selected to install IOTA-Global and waited for some time as the spinner spun.  Again, I went to other projects and after a number of minutes, there was a pop-up on the other desktop with SDDM as part of the identifier, sorry, didn't note more specifics, asking for my user password.  I issued that and, by the time I returned to systemsettings5, that theme was installed.  I loaded it and it seems to be working (dark window title bars, at least, ATM), FWIW. 


> As for the directory whose permissions you changed:
>  $HOME/.local/share/plasma/look-and-feel
> I do not even have $HOME/.local/share/plasma/ ! I tried creating the full
> path, but got no further. Give up.
> Re comment 2, it would need to be registered as a bug with KDE. However, if
> the starting point is a normal Plasma manipulation, maybe we have a bug.
> 
> Assigning it to the KDE team for consideration; they will advise what to do.

CC: (none) => rolfpedersen

Comment 9 sturmvogel 2023-09-29 22:07:53 CEST
As you couldn't install the theme as normal user and only as root is a sign that some files in your user directory where owned by root. This is backed by the fact that you could install the themes after manipulating the directory rigths.

It seems that you used "su" instead of "su -" and changed ownership of some files in your user directory to root. Have a read here:
https://wiki.mageia.org/en/Never_use_just_su


Thus closing invalid.

Resolution: (none) => INVALID
Status: NEW => RESOLVED