It looks like this is not a Discover issue itself, but rather a KPackage / KDE Store metadata mismatch after a Plasma or Frameworks update.
The important part is this message:
“The new package has a different type than the old version already installed.”
That usually happens when the package format or metadata changed between versions. Discover then sees the updated add-on as a completely different package type and refuses to replace the old one.
This is especially common after:
- Plasma major upgrades
- Plasma 5 → Plasma 6 migrations
- Frameworks updates
- old KDE Store add-ons installed manually
- leftover metadata/cache from previous versions
Since your normal system updates work fine (AUR, pacman, Flatpak, etc.) and only KDE Store add-ons fail, the problem is most likely isolated to KNewStuff/KPackage handling.
A few things you can try:
1. Fully clear Discover + KNewStuff cache
Close Discover completely, then run:
rm -rf \~/.cache/discover
rm -rf \~/.cache/knewstuff\*
rm -rf \~/.local/share/knewstuff3
rm -rf \~/.local/share/plasma/plasmoids/\*
rm -rf \~/.local/share/plasma/wallpapers/\*
rm -rf \~/.local/share/kwin/scripts/\*
After that reboot or restart Plasma.
2. Reinstall the affected add-ons manually
For example, if “AndromedaLauncher” fails:
- remove the currently installed version first
- then reinstall it directly from KDE Store
Many old Plasma add-ons still contain outdated metadata and Discover cannot safely upgrade them in-place anymore.
3. Refresh KPackage registration
Run:
kpackagetool6 --list-types
If that gives errors or missing types, reinstall the Plasma support packages:
sudo pacman -Syu plasma-workspace plasma5support kpackage kirigami discover
(Names may differ slightly on CachyOS.)
4. Check whether old Plasma 5 widgets are still installed
Some widgets/themes were never properly ported to Plasma 6 but still appear in Discover. Those often trigger exactly this error because the package type changed internally.
5. Try installing/updating from the terminal instead of Discover
Some users reported Discover fails while the CLI tools work:
plasmapkg2 --upgrade path/to/package
or
kpackagetool6 --install package
6. Verify permissions and duplicate installations
Sometimes the same widget exists both in:
and
That can confuse Discover during updates.
You can search duplicates with:
find \~/.local/share/plasma -type d | sort
find /usr/share/plasma -type d | sort
Personally, I suspect this is mainly caused by old Plasma 5 metadata conflicting with newer Plasma 6 package definitions. CachyOS moves very fast with KDE updates, so stale third-party widgets/themes can easily break Discover’s upgrade path.
In many cases, removing the old add-on completely and reinstalling the latest version fixes it permanently.