Bug 2347292

Summary: The initial setup in KDE does not switch on third party repositories
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: plasma-welcome-fedoraAssignee: Steve Cossette <farchord>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 42CC: awilliam, farchord, geraldo.simiao.kutz, kde-sig, kparal, ngompa13, robatino, travier
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedBlocker AcceptedFreezeException
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-03-24 11:33:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2291264, 2291265    
Attachments:
Description Flags
Discover showing the enabled repos
none
Repos enabled none

Description Lukas Ruzicka 2025-02-24 11:59:17 UTC
After a fresh installation of KDE Live nightly (20250224), the initial walkthrough (welcome dialogue) started as usually and I made several choices, including to enable third party repositories. However, when I checked Discover, I realized that the third party repositories were not enabled.

In journalctl, I have found the following error message:

Feb 24 11:13:29 localhost-live plasma-welcome[2468]: "The command fedora-third-party query --quiet failed: No error message provided"
Feb 24 11:13:58 localhost-live polkitd[826]: Operator of unix-session:7 FAILED to authenticate to gain authorization for action org.fedoraproject.thirdparty.run for unix-process:unknown [<unknown>] (owned by unix-user:test)


Reproducible: Always

Steps to Reproduce:
1. Install the latest KDE nightly.
2. Enable Third Party repositories through plasma-welcome.
3. Check that the repos are installed.
Actual Results:  
Only standard repos are enabled.


UNTITLED
From WebUI, 18 Seconds ago, written in Plain Text.
This paste will bite the big one in 23 Hours.	
URL https://paste.centos.org/view/a564082f
Embed Show code
Download Paste or View Raw

        repo id               repo name
        fedora                Fedora 42 - x86_64
        fedora-cisco-openh264 Fedora 42 openh264 (From Cisco) - x86_64
        updates               Fedora 42 - x86_64 - Updates
        updates-testing       Fedora 42 - x86_64 - Test Updates

With Flatpaks, only Fedora flatpaks are enabled.



Expected Results:  
All third party repos are enabled, including Flathub.

Comment 1 Lukas Ruzicka 2025-02-24 11:59:59 UTC
Created attachment 2077591 [details]
Discover showing the enabled repos

Comment 2 Fedora Blocker Bugs Application 2025-02-24 12:08:29 UTC
Proposed as a Blocker for 42-beta by Fedora user lruzicka using the blocker tracking app because:

 By default, the options to download and install software is limited.

https://fedoraproject.org/wiki/Fedora_42_Beta_Release_Criteria#Installing,_removing_and_updating_software

Comment 3 Neal Gompa 2025-02-24 17:19:34 UTC
This is from plasma-welcome-fedora, so switching to that component.

Comment 4 Kamil Páral 2025-02-24 18:46:50 UTC
Discussed on 2025-02-24 in a blocker review meeting [1]:

!agreed 2347292 - AcceptedBetaFE AcceptedFinalBlocker - This is a violation of "each page or panel of the initial setup utility should withstand a basic functionality test"

[1] https://meetbot.fedoraproject.org/blocker-review_matrix_fedoraproject-org/2025-02-24/f42-blocker-review.2025-02-24-17.01.log.html

Comment 5 Steve Cossette 2025-02-24 19:02:45 UTC
I went ahead and tried reproducing this:

1- I downloaded the latest KDE Live image from https://kojipkgs.fedoraproject.org/compose/branched/Fedora-42-20250224.n.0/compose/KDE/x86_64/iso/Fedora-KDE-Desktop-Live-42-20250224.n.0.x86_64.iso
2- Ran in a VM
3- Through Plasma Welcome, I enabled the third party repositories.
4- Ran commands: fedora-third-party query and dnf repolist to see if everything is enabled

Everything is working as intended

See attached screenshot.

Comment 6 Steve Cossette 2025-02-24 19:03:43 UTC
Created attachment 2077677 [details]
Repos enabled

Comment 7 Steve Cossette 2025-02-24 19:11:18 UTC
I also tried to actually install the system and trying to enable the repos through plasma-welcome again. Same result, repos do show up.

Is it possible you entered the password wrong multiple times, or that the user has no sudo privileges?

Comment 8 Geraldo Simião 2025-02-28 02:46:48 UTC
Same as Seteve Cossette, I can't reproduce this bug with a Fedora-KDE-Desktop-Live-42-20250224.n.0.x86_64.iso running in a VM.
Will try this at baremetal running live session to see what happens.

Comment 9 Neal Gompa 2025-03-02 14:52:52 UTC
I cannot reproduce this either in VMs or fresh installs on hardware.

Comment 10 Adam Williamson 2025-03-14 18:27:26 UTC
Lukas, can you test again and see if you can reproduce this consistently? Thanks!

Comment 11 Lukas Ruzicka 2025-03-24 10:10:24 UTC
I cannot reproduce this on 20250323 nightly, where this works as expected. Unfortunately, I cannot find the original compose anymore, so I am not able to run this on the reported compose.

I might say that this has been miraculously fixed, or the error was not in KDE and was caused by some external issues that have corrected themselves in the meantime.