Summary: | Discover fails to uninstall just-installed package until being quit and re-launched | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Nate Graham <nate> |
Component: | PackageKit | Assignee: | Dan Leinir Turthra Jensen <leinir> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, claudius.ellsel, rdieter |
Priority: | NOR | ||
Version: | 5.23.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/commit/f1d63f7506d0d9186381f3a9bcd87c152ff842f9 | Version Fixed In: | 5.23.2 |
Description
Nate Graham
2021-10-11 22:17:26 UTC
(oh and it reproduces with all apps provided by packagekit, not just audacious) Can you confirm that audacious;4.1-2.fc34;x86_64;fedora is what needed to be uninstalled? The package name was just "audacious". Same thing happens the other way around. If you uninstall then install it fails where it ends with ;installed:fedora I've looked into it and it seems like packagekit is giving us the wrong pkgid as it installs. It should be giving "audacity;3.0.2-5.fc35;x86_64;installed fedora" but it gives "audacity;3.0.2-5.fc35;x86_64;fedora". So either the packagekit dnf backend becomes smart enough to think they're the same or removing the package should be giving us the new package id, AFAIU. A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/196 Git commit 8eda40a097c088323523d474d1bafd301def8999 by Aleix Pol. Committed on 22/10/2021 at 00:48. Pushed by apol into branch 'master'. pk: Properly resolve package ids after a transactions is done The Transaction gets us the old package ids which aren't useful to us. M +4 -9 libdiscover/backends/PackageKitBackend/PKTransaction.cpp https://invent.kde.org/plasma/discover/commit/8eda40a097c088323523d474d1bafd301def8999 Git commit f1d63f7506d0d9186381f3a9bcd87c152ff842f9 by Aleix Pol Gonzalez, on behalf of Aleix Pol. Committed on 22/10/2021 at 13:42. Pushed by apol into branch 'Plasma/5.23'. pk: Properly resolve package ids after a transactions is done The Transaction gets us the old package ids which aren't useful to us. (cherry picked from commit 8eda40a097c088323523d474d1bafd301def8999) M +4 -9 libdiscover/backends/PackageKitBackend/PKTransaction.cpp https://invent.kde.org/plasma/discover/commit/f1d63f7506d0d9186381f3a9bcd87c152ff842f9 *** Bug 429774 has been marked as a duplicate of this bug. *** |