Bug 494354

Summary: Unable to install Global theme with error "Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1158510' "
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Kevin Frost <kevin>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, clay, john.kizer, kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 6.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of failed install of Global Theme

Description Kevin Frost 2024-10-09 16:10:16 UTC
Created attachment 174573 [details]
Screenshot of failed install of Global Theme

SUMMARY

STEPS TO REPRODUCE
1. Open System Settings. Navigate to Colours & Themes. 
2. Click on "Get New..." Select a new theme to install (have had no luck at all with the 4 or 5 themes I chose).
3. Click on the Install button.

OBSERVED RESULT

New window pops up detail error: Installation of /tmp/VMVunj-Edna.tar.gz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1158510'

This could be any that I've tried to install, not necessarily this one as shown in screenshot.

EXPECTED RESULT

New theme should appear in the Global Themes list.

SOFTWARE/OS VERSIONS

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-8-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: NV167

ADDITIONAL INFORMATION

I have also tested this in a VM running latest stable KDE Neon and get the same result.

The work-around is to use a terminal and tar to manually install the theme into ~/.local/share/color-schemes from /tmp/
Comment 1 Kevin Frost 2024-10-09 16:12:14 UTC
I have spent a couple of hours on bugs.kde.org to try and find a previous report, but nothing found. I expect that I am using the wrong search criteria.
Comment 2 Kevin Frost 2024-10-10 11:55:08 UTC
Error message:

Installation of /tmp/qaoCkT-Edna.tar.gz failed: Could not install dependency: 'kns://colorschemes.knsrc/api.kde-look.org/1158510'
Comment 3 Clay Weber 2024-12-06 01:32:21 UTC
I see this on Kubuntu 24.10 (Plasma 6.1.5/Qt 6.6) for Global themes but not on distros with 6.2.x/Qt 6.8, such as KDE neon.
Comment 4 John Kizer 2024-12-12 05:45:50 UTC
Sorry if this is unhelpful guessing, but the fact that reporting of this seems to be isolated to Kubuntu's combination of Plasma 6.1 and Qt 6.6, makes me wonder if this comment: https://invent.kde.org/plasma/discover/-/merge_requests/828#note_934117 on the merge request fixing this bug: https://bugs.kde.org/show_bug.cgi?id=486330 might have been onto something that was a problem between the behavior introduced in that commit and Qt 6.6?

There might not be much that could be done for Kubuntu 24.10 at this point, short of some sort of backport by the Kubuntu maintainers, I assume?