Bug 417581

Summary: Unhelpful error message when flatpak repo removing fails because a package from it is installed
Product: [Applications] Discover Reporter: Patrick Silva <bugseforuns>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version: 5.18.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Patrick Silva 2020-02-13 17:31:26 UTC
Created attachment 125962 [details]
screenshot

SUMMARY
I tried to remove a flatpak repo in "Settings" page, Discover did not remove the repo and shown
the unhelpful message "Failed to remove the source <repo name>" (please see the attached screenshot).
Then I uninstalled the only package installed from the repo, tried to remove the repo again and removing was successful this time.

STEPS TO REPRODUCE
1. add a flatpak repo
2. install any app from such repo
3. try to remove the added flatpak repo in "Settings" page

EXPECTED RESULT
helpful error message explaining why removing failed

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1
Comment 1 Nate Graham 2020-02-15 23:03:49 UTC

*** This bug has been marked as a duplicate of bug 403697 ***