Bug 451308

Summary: Discover updates hang after a failed update
Product: [Applications] Discover Reporter: CG <claregbox-2>
Component: UpdatesAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED WORKSFORME    
Severity: major CC: aleixpol, nate
Priority: NOR Keywords: usability
Version First Reported In: 5.24.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description CG 2022-03-09 10:58:36 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Clicked to update a number of apps and Plasma addons
2.  One of the updates failed (apologies, I forget now the specifics of why)
3.  The rest of the queued update tasks just hang
4.  Clicking cancel does not cancel tasks

OBSERVED RESULT
After on package failed to install the rest of the queued update tasks just hung, stuck on 13%.
Attempting to cancel the remaining tasks does nothing.

EXPECTED RESULT
Remaining queued update tasks to continue working after one fails or cancel when user clicks "Cancel".

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I've not submitted a bug report before and am fairly new to Linux so please explain like I'm 5 how to get any further info required.
Comment 1 Nate Graham 2022-03-23 13:32:14 UTC
You can run `pkmon` in a terminal window to find out what it's doing under the hood.

Can you force-quit Discover, run that command in a terminal, and try again? This way if it hangs again we'll have a log of what it was doing at the time. Then you can put that logging info in a file and attach the file here. Thanks!
Comment 2 CG 2022-03-25 13:59:33 UTC
(In reply to Nate Graham from comment #1)
> You can run `pkmon` in a terminal window to find out what it's doing under
> the hood.
> 
> Can you force-quit Discover, run that command in a terminal, and try again?
> This way if it hangs again we'll have a log of what it was doing at the
> time. Then you can put that logging info in a file and attach the file here.
> Thanks!


Thank you for the info.  Unfortunately since I'm unable to replicate the condition of a failed app update I'm not able to replicate the issue.  I'll keep your suggested action in mind though and if it should happen again I'll post an update with log.
Comment 3 Nate Graham 2023-01-12 18:15:54 UTC
Cool, feel free to re-open this bug report and add new info if and when it happens again. Thanks!