Bug 2011305 - Discover can't enable/disable an RPM repo
Summary: Discover can't enable/disable an RPM repo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: plasma-discover
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F35FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2021-10-06 11:29 UTC by Kamil Páral
Modified: 2021-10-11 22:28 UTC (History)
6 users (show)

Fixed In Version: plasma-discover-5.23.0-1.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-11 22:28:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error when trying to enable/disable repo (99.87 KB, image/png)
2021-10-06 11:30 UTC, Kamil Páral
no flags Details
journal (258.59 KB, text/plain)
2021-10-06 11:30 UTC, Kamil Páral
no flags Details
rpm -qa (60.40 KB, text/plain)
2021-10-06 11:30 UTC, Kamil Páral
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.