Bug 510002 - Major version updates transactions are considered as metadata refresh
Summary: Major version updates transactions are considered as metadata refresh
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: rpm-ostree Backend (other bugs)
Version First Reported In: 6.4.90
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Timothée Ravier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-27 16:35 UTC by Timothée Ravier
Modified: 2026-01-05 22:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timothée Ravier 2025-09-27 16:35:00 UTC
SUMMARY

When doing major version updates with the rpm-ostree backend, the created transaction is not considered as an update but as metadata refresh by the Discover UI.

STEPS TO REPRODUCE
1.  Tweak /usr/share/metainfo/org.fedoraproject.fedora.metainfo.xml to set Fedora 43 as stable with a date of today (use rpm-ostree usroverlay or a sysext)
2. Refresh updates in Discover
3. Fedora 43 major version update offered

OBSERVED RESULT

Clicking on the Major update button does not start an update transaction but shows the "Refreshing" UI.

EXPECTED RESULT

Start a normal update transaction that can be cancelled.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Fedora Kinoite 42
KDE Plasma Version: Discover from KDE master branch
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION

Might be linked to https://invent.kde.org/plasma/discover/-/merge_requests/1160
Comment 1 Timothée Ravier 2025-09-27 16:35:47 UTC
Wrong link at the bottom of the first comment: https://invent.kde.org/plasma/discover/-/merge_requests/1141#note_1311772