| Summary: | offline update error indication | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Harald Sitter <sitter> |
| Component: | discover | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/discover/5487110599ca83073497793d3c6ad940ee26ce05 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Harald Sitter
2018-11-26 11:38:56 UTC
+1 for automatically trying to do `pkcon repair`. If it succeeds, we should show a notification asking the user to try rebooting again or something. Maybe only if `pkcon repair` fails should we fall back to showing the error and giving up. "Error while installing package: installed samba package post-installation script subprocess returned error exit status 1" would be meaningless gibberish for Discover's target users. Frankly it's meaningless gibberish for me. I have no idea what I would do with that. Well, the expectation is to file a bug somewhere with that information from ErrorDetails, only advanced users may be able to figure out whats wrong and deal with it on their own (much like with the backtrace tab in drkonqi). It's not useless information in general, it's just powerful-when-needed information. How/if we wire that up to distro-specific bug report tools is a question that needs figuring out I guess. Aaanyway... To be clear: by automatic repair I still meant there needs to be a notification "your system is in a bad state, how about I try to repair it? [Yes, Repair away]". Repair is still an action that can break stuff (more), so this still requires user approval. Also, they'll get an auth prompt via polkit, for that alone they'll need some context :) Git commit 5487110599ca83073497793d3c6ad940ee26ce05 by Aleix Pol. Committed on 19/12/2018 at 16:26. Pushed by apol into branch 'master'. pk: Allow the user to repair the system after a faulty offline update M +6 -0 libdiscover/backends/PackageKitBackend/PackageKitNotifier.cpp https://commits.kde.org/discover/5487110599ca83073497793d3c6ad940ee26ce05 |