Bug 470372 - rpm-ostree updates stopped working
Summary: rpm-ostree updates stopped working
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: rpm-ostree Backend (show other bugs)
Version: 5.27.5
Platform: Fedora RPMs Linux
: VHI grave
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 470594 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-05-28 16:31 UTC by Victoria
Modified: 2023-06-23 15:04 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27.6


Attachments
Discover claiming system is up-to-date despite knowing there are updates. (152.80 KB, image/png)
2023-05-28 16:31 UTC, Victoria
Details
Discover stdout showing rpm-ostree update available. (229.68 KB, image/png)
2023-06-03 10:31 UTC, Victoria
Details
"rpm-ostree status" output (922 bytes, text/plain)
2023-06-03 10:34 UTC, Victoria
Details
Rpm-ostree update not shown in Discover (257.71 KB, image/png)
2023-06-05 10:04 UTC, Tommaso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victoria 2023-05-28 16:31:44 UTC
Created attachment 159297 [details]
Discover claiming system is up-to-date despite knowing there are updates.

Some time ago, Discover stopped showing rpm-ostree updates in GUI. It does see that the update is there, as shown by the update indicator on the sidebar but the main window shows the system is up-to-date and does not show "update" button.

CLI logs also show that rpm-ostree is ran correctly and sees the update.

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.2.15-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X470 AORUS ULTRA GAMING
Comment 1 Victoria 2023-05-28 16:34:52 UTC
~/.config/discoverrc

[FlatpakSources]
Sources=flathub,fedora-testing,fedora,flathub-beta

[Window]
geometry=3440,0,863,732
visibility=2
Comment 2 Victoria 2023-06-03 10:30:36 UTC
The same thing now started happening on my Laptop
Comment 3 Victoria 2023-06-03 10:31:31 UTC
Created attachment 159435 [details]
Discover stdout showing rpm-ostree update available.
Comment 4 Victoria 2023-06-03 10:34:55 UTC
Created attachment 159436 [details]
"rpm-ostree status" output
Comment 5 Tommaso 2023-06-05 10:04:01 UTC
Created attachment 159473 [details]
Rpm-ostree update not shown in Discover

I am encountering the exact same issue on my machine. Attaching a screenshot as proof.
OS: Fedora Kinoite 38
Comment 6 Timothée Ravier 2023-06-08 11:06:18 UTC
*** Bug 470594 has been marked as a duplicate of this bug. ***
Comment 7 Bug Janitor Service 2023-06-17 15:54:58 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/572
Comment 8 Bug Janitor Service 2023-06-18 00:30:15 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/573
Comment 9 Aleix Pol 2023-06-18 23:29:15 UTC
Git commit c35d4b5f53be3a8823e5db70cd59c0a47551eea2 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 18/06/2023 at 16:41.
Pushed by apol into branch 'Plasma/5.27'.

rpmostree: Simplify filter

It was leaving some important cases out.

M  +1    -4    libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp

https://invent.kde.org/plasma/discover/-/commit/c35d4b5f53be3a8823e5db70cd59c0a47551eea2
Comment 10 Aleix Pol 2023-06-20 00:02:20 UTC
Git commit 617b9e4a630fc2133d24d50771e56e8a2929c781 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 20/06/2023 at 00:00.
Pushed by apol into branch 'master'.

rpmostree: Simplify filter

It was leaving some important cases out.


(cherry picked from commit c35d4b5f53be3a8823e5db70cd59c0a47551eea2)

M  +1    -4    libdiscover/backends/RpmOstreeBackend/RpmOstreeBackend.cpp

https://invent.kde.org/plasma/discover/-/commit/617b9e4a630fc2133d24d50771e56e8a2929c781