Summary: | Offline updater does not check if enough disk space is available before updating | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Kishore Gopalakrishnan <kishore96> |
Component: | Updates (offline) | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | aleixpol, madLyfe, nate |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/commit/b3d8fbef0788144ad7385247bb3b615b6ae6e808 | Version Fixed In: | 5.26 |
Sentry Crash Report: |
Description
Kishore Gopalakrishnan
2022-08-14 07:41:03 UTC
> Not sure if this is a bug in Discover or packagekit
Discover should handle this case regardless.
How would we know if there's enough space to perform an update? we check if the free space is bigger than the download size? Yeah. A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/361 Git commit b3d8fbef0788144ad7385247bb3b615b6ae6e808 by Aleix Pol Gonzalez, on behalf of Aleix Pol i Gonzalez. Committed on 30/08/2022 at 23:08. Pushed by apol into branch 'master'. pk: Include an error message when there is not enough space for an update It can prevent users getting in an unfortunate situation. There are some cases where this error might not apply, so there's a button to dismiss the message. M +38 -1 discover/qml/UpdatesPage.qml M +1 -0 libdiscover/backends/DummyBackend/DummyBackend.cpp M +9 -0 libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp M +9 -0 libdiscover/resources/AbstractBackendUpdater.cpp M +11 -0 libdiscover/resources/AbstractBackendUpdater.h M +16 -0 libdiscover/resources/ResourcesUpdatesModel.cpp M +4 -0 libdiscover/resources/ResourcesUpdatesModel.h https://invent.kde.org/plasma/discover/commit/b3d8fbef0788144ad7385247bb3b615b6ae6e808 *** Bug 436285 has been marked as a duplicate of this bug. *** |