Bug 509252 - Caught in a loop when not providing sudo password on automatic updates
Summary: Caught in a loop when not providing sudo password on automatic updates
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Discover
Classification: Applications
Component: Flatpak Backend (other bugs)
Version First Reported In: 6.4.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-07 22:02 UTC by Philipp Kiemle
Modified: 2025-09-25 17:04 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Password prompt (1.50 MB, image/png)
2025-09-07 22:02 UTC, Philipp Kiemle
Details
Discover error (827.53 KB, image/png)
2025-09-07 22:03 UTC, Philipp Kiemle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kiemle 2025-09-07 22:02:24 UTC
Created attachment 184794 [details]
Password prompt

SUMMARY
 Seconds after booting up, Discover asks for the root password in order to be able to install Flatpak updates in the background. Dismissing the prompt results in a loop.

STEPS TO REPRODUCE
1. Hope you have pending flatpak updates (org.freedesktop.Platform.openh264 in my case)
2. Boot, login to Plasma
3. Wait for the Discover root password prompt to appear
4. Click "Cancel"

OBSERVED RESULT
Discover opens for the blink of an eye, displays a (due to its short appearance on screen) unreadable error message. Then, Discover closes and the password prompt reappears. This happens over and over again, regardless of me clicking the "X" on the password prompt or clicking the "Cancel" button.

EXPECTED RESULT
The password prompt window disappears, and no updates are installed. I can install the updates later, when I have the time.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250905
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Kernel Version: 6.16.3-1-default (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 8840HS w/ Radeon 780M Graphics
Memory: 16 GiB of RAM (14.9 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ASUS Zenbook 14 UM3406HA_UM3406HA
System Version: 1.0
ADDITIONAL INFORMATION
1. In System Settings, I have enabled automatic software updates on a daily basis and selected "Apply after restart".
2. Also, when installing new Flatpak apps, I am asked for my root password. On my other machine (Kubuntu 25.04), this is not the case. Both enabling Flatpak and adding the Flathub repo happened through Discover GUI, on both machines. Is this just something openSUSE does different? This is the first time I am running something other than *buntu "for real".

Attached are two screenshots - the password prompt with some details expanded, and Discover with the error message (translates roughly to "There was an error during updating or installing things. Please try again later.").
Comment 1 Philipp Kiemle 2025-09-07 22:03:02 UTC
Created attachment 184795 [details]
Discover error
Comment 2 Philipp Kiemle 2025-09-07 22:05:30 UTC
To break the loop, I ran `flatpak update` in a terminal to install the available update. Then, I could click "Cancel" on the password prompt and it would finally stop reappearing.
Comment 3 Nate Graham 2025-09-25 17:04:03 UTC
I'm afraid this is a distro configuration issue. Automatic updates are fundamentally not compatible with "enter your password to update", which openSUSE enforces. Please bring this up to the openSUSE packagers, and hopefully they'll come up with a plan for how to handle this. Thanks!