D13119: Abort transaction on PK dependency resolution error
Antonio Rojas
noreply at phabricator.kde.org
Fri May 25 17:44:06 UTC 2018
arojas created this revision.
arojas added a reviewer: apol.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
arojas requested review of this revision.
REVISION SUMMARY
If PackageKit throws a dependency resolution error, abort the transaction instead of finishing it anyway (potentially breaking the user's installation). This is far from ideal, but prevents Discover from performing destructive operations while the PackageKit issues are fixed
BUG: 394327
TEST PLAN
Tried to remove a package which is an optional dependency of another one on Arch (which gives a warning that PK can't handle), the operation was aborted.
REPOSITORY
R134 Discover Software Store
REVISION DETAIL
https://phabricator.kde.org/D13119
AFFECTED FILES
libdiscover/backends/PackageKitBackend/PKTransaction.cpp
To: arojas, apol
Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180525/6192a4d2/attachment.html>
More information about the Plasma-devel
mailing list