Bug 2011305

Summary: Discover can't enable/disable an RPM repo
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: plasma-discoverAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: awilliam, geraldo.simiao.kutz, kde-sig, lruzicka, rdieter, robatino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedBlocker
Fixed In Version: plasma-discover-5.23.0-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-11 22:28:42 UTC Type: Bug
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: 1891955    
Attachments:
Description Flags
error when trying to enable/disable repo
none
journal
none
rpm -qa none

Description Kamil Páral 2021-10-06 11:29:16 UTC
Description of problem:
I installed a clean F35 KDE system. When I open Discover and go to Settings, I see my RPM repos under the "Fedora Linux 35" section. When I try to enable/disable any repo in the list, I see an error pop up saying:
> Failed to obtain authentication
and journal says:
> Oct 06 13:20:36 fedora PackageKit[2156]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-configure auth (only_trusted:0)
> Oct 06 13:20:36 fedora PackageKit[2156]: uid 1000 failed to obtain auth
> Oct 06 13:20:36 fedora plasma-discover[2333]: Transaction error:  PackageKit::Transaction::ErrorNotAuthorized "Failed to obtain authentication." PackageKit::Transaction(0x556058b45670)

I'm never asked for my admin password (I'm in the wheel group). It just fails immediately and no action is performed.


Version-Release number of selected component (if applicable):
plasma-discover-5.22.5-1.fc35.x86_64
PackageKit-1.2.4-2.fc35.x86_64
Fedora-KDE-Live-x86_64-35-20211005.n.0.iso

How reproducible:
always

Steps to Reproduce:
1. install a clean F35 KDE
2. open Discover -> Settings
3. try to toggle any listed RPM repo, see an auth error

Comment 1 Kamil Páral 2021-10-06 11:30:11 UTC
Created attachment 1829801 [details]
error when trying to enable/disable repo

Comment 2 Kamil Páral 2021-10-06 11:30:17 UTC
Created attachment 1829802 [details]
journal

Comment 3 Kamil Páral 2021-10-06 11:30:21 UTC
Created attachment 1829803 [details]
rpm -qa

Comment 4 Kamil Páral 2021-10-06 11:31:18 UTC
Proposing for a blocker discussion based on https://fedoraproject.org/wiki/Fedora_35_Final_Release_Criteria#Default_application_functionality

Comment 5 Fedora Update System 2021-10-06 18:22:51 UTC
FEDORA-2021-a32a5c05d4 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a32a5c05d4

Comment 6 Kamil Páral 2021-10-07 10:59:25 UTC
(In reply to Fedora Update System from comment #5)
> FEDORA-2021-a32a5c05d4 has been submitted as an update to Fedora 35.
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-a32a5c05d4

This update fixes the problem. However, it introduces/uncovers bug 2011774. If the update is pushed stable, I'll propose the mentioned bug for a blocker discussion.

Comment 7 Lukas Ruzicka 2021-10-07 11:55:45 UTC
True.

Comment 8 Fedora Update System 2021-10-07 15:54:15 UTC
FEDORA-2021-a32a5c05d4 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a32a5c05d4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a32a5c05d4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Adam Williamson 2021-10-07 19:34:50 UTC
+4 in https://pagure.io/fedora-qa/blocker-review/issue/513 , marking accepted.

Comment 10 Geraldo Simião 2021-10-08 13:21:20 UTC
(In reply to Fedora Update System from comment #8)
> FEDORA-2021-a32a5c05d4 has been pushed to the Fedora 35 testing repository.
> Soon you'll be able to install the update with the following command:
> `sudo dnf upgrade --enablerepo=updates-testing
> --advisory=FEDORA-2021-a32a5c05d4`
> You can provide feedback for this update here:
> https://bodhi.fedoraproject.org/updates/FEDORA-2021-a32a5c05d4
> 
> See also https://fedoraproject.org/wiki/QA:Updates_Testing for more
> information on how to test updates.


this update (plasma-discover-5.23.0-1.fc35.x86_64) fixes this bug here. congrats.

Comment 11 Fedora Update System 2021-10-11 22:28:42 UTC
FEDORA-2021-a32a5c05d4 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.