Cannot update plasmoids ("The new package has a different type from the old version already installed")
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kpackage (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 22.04 AMD64, KPackage 5.92 (libkf5package5
Every time Plasma Discover tries to update a Plasmoid I installed ("Resources Monitor - fork", from https:/
Investigating the issue, I traced the message to KPackage, and specifically to src/kpackage/
if (QFile:
if (operation == Update) {
if (readKPackageTy
however, at line 78 it refers to some alternative metaDataFiles that may be present, in particular metadata.json:
Q_GLOBAL_
Indeed, looking under ~/.local/
Apparently, this code wasn't updated to look also for the JSON by mistake, as here https:/
My proposal here is to backport that patch (that applies cleanly) to the version shipped with Ubuntu 22.04 (5.92), otherwise I expect more and more stuff installed through knewstuff to become non-updateable with this obscure error.
The attachment "Patch from https:/ /github. com/KDE/ kpackage/ commit/ 57ba435edb2fae1 626581a769079b4 cf8751044f" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]